summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafal Jaworowski <raj@pollux.denx.de>2006-03-29 13:17:09 +0200
committerRafal Jaworowski <raj@pollux.denx.de>2006-03-29 13:17:09 +0200
commitb66a9383421805c705654ce9456ec28c202819fb (patch)
tree4fb429d1b2402185225d8aed5fa551afff9b507a /include
parent7b4fd36b0322ec98836a8459d9be80e2777fdc05 (diff)
Set SDelay register in the DDR controller for the MPC5200B chip.
Diffstat (limited to 'include')
-rw-r--r--include/configs/IceCube.h8
-rw-r--r--include/mpc5xxx.h1
2 files changed, 6 insertions, 3 deletions
diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h
index 596e52ce3..1152f838d 100644
--- a/include/configs/IceCube.h
+++ b/include/configs/IceCube.h
@@ -56,7 +56,9 @@
* 0x40000000 - 0x4fffffff - PCI Memory
* 0x50000000 - 0x50ffffff - PCI IO Space
*/
-#define CONFIG_PCI 1
+#define CONFIG_PCI
+
+#if defined(CONFIG_PCI)
#define CONFIG_PCI_PNP 1
#define CONFIG_PCI_SCAN_SHOW 1
@@ -67,6 +69,8 @@
#define CONFIG_PCI_IO_BUS 0x50000000
#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
#define CONFIG_PCI_IO_SIZE 0x01000000
+#define ADD_PCI_CMD CFG_CMD_PCI
+#endif
#define CFG_XLB_PIPELINING 1
@@ -76,8 +80,6 @@
#define CFG_RX_ETH_BUFFER 8 /* use 8 rx buffer on eepro100 */
#define CONFIG_NS8382X 1
-#define ADD_PCI_CMD CFG_CMD_PCI
-
#else /* MPC5100 */
#define CONFIG_MII 1
diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h
index f33d85855..50a6ac1e9 100644
--- a/include/mpc5xxx.h
+++ b/include/mpc5xxx.h
@@ -131,6 +131,7 @@
#if defined(CONFIG_MGT5100)
#define MPC5XXX_SDRAM_XLBSEL (MPC5XXX_SDRAM + 0x0010)
#endif
+#define MPC5XXX_SDRAM_SDELAY (MPC5XXX_SDRAM + 0x0090)
/* Clock Distribution Module */
#define MPC5XXX_CDM_JTAGID (MPC5XXX_CDM + 0x0000)