blob: 3d9979664f3b44a29133d0485736baa3441a9ca5 [file] [log] [blame]
dzu@denx.de6ca24c62006-04-21 18:30:47 +02001/*
2 * (C) Copyright 2004
3 * Mark Jonas, Freescale Semiconductor, mark.jonas@motorola.com.
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
dzu@denx.de6ca24c62006-04-21 18:30:47 +02006 */
7
8#define SDRAM_DDR 0 /* is SDR */
9
dzu@denx.de6ca24c62006-04-21 18:30:47 +020010/* Settings for XLB = 132 MHz */
11#define SDRAM_MODE 0x00CD0000
12/* #define SDRAM_MODE 0x008D0000 */ /* CAS latency 2 */
13#define SDRAM_CONTROL 0x504F0000
14#define SDRAM_CONFIG1 0xD2322800
15/* #define SDRAM_CONFIG1 0xD2222800 */ /* CAS latency 2 */
16/*#define SDRAM_CONFIG1 0xD7322800 */ /* SDRAM controller bug workaround */
17#define SDRAM_CONFIG2 0x8AD70000
18/*#define SDRAM_CONFIG2 0xDDD70000 */ /* SDRAM controller bug workaround */