2004-07-11 17:40:54 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2004
|
|
|
|
* Mark Jonas, Freescale Semiconductor, mark.jonas@motorola.com.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2004-07-11 17:40:54 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define SDRAM_DDR 0 /* is SDR */
|
|
|
|
|
|
|
|
/* Settings for XLB = 132 MHz */
|
|
|
|
#define SDRAM_MODE 0x00CD0000
|
|
|
|
/* #define SDRAM_MODE 0x008D0000 */ /* CAS latency 2 */
|
|
|
|
#define SDRAM_CONTROL 0x504F0000
|
|
|
|
#define SDRAM_CONFIG1 0xD2322800
|
|
|
|
/* #define SDRAM_CONFIG1 0xD2222800 */ /* CAS latency 2 */
|
|
|
|
/*#define SDRAM_CONFIG1 0xD7322800 */ /* SDRAM controller bug workaround */
|
|
|
|
#define SDRAM_CONFIG2 0x8AD70000
|
|
|
|
/*#define SDRAM_CONFIG2 0xDDD70000 */ /* SDRAM controller bug workaround */
|