aboutsummaryrefslogtreecommitdiffstats
path: root/cpu/ppc4xx/sdram.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-08-15 14:22:35 +0200
committerStefan Roese <sr@denx.de>2006-08-15 14:22:35 +0200
commit899620c2d66d4eef3b2a0034d062e71d45d886c9 (patch)
tree5e99c4d42663193423bab1bc17308426c171cc56 /cpu/ppc4xx/sdram.c
parentf0ff4692ff3372dec55074a8eb444943ab095abb (diff)
downloadu-boot-midas-899620c2d66d4eef3b2a0034d062e71d45d886c9.tar.gz
u-boot-midas-899620c2d66d4eef3b2a0034d062e71d45d886c9.tar.bz2
u-boot-midas-899620c2d66d4eef3b2a0034d062e71d45d886c9.zip
Add initial support for the ALPR board from Prodrive
NAND needs some additional testing Patch by Heiko Schocher, 15 Aug 2006
Diffstat (limited to 'cpu/ppc4xx/sdram.c')
-rw-r--r--cpu/ppc4xx/sdram.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/ppc4xx/sdram.c b/cpu/ppc4xx/sdram.c
index faeea5c91e..f06038e998 100644
--- a/cpu/ppc4xx/sdram.c
+++ b/cpu/ppc4xx/sdram.c
@@ -351,6 +351,14 @@ long int initdram(int board_type)
int i;
int tr1_bank1;
+#if defined(CONFIG_440GX) || defined(CONFIG_440EP) || defined(CONFIG_440GR) || defined(CONFIG_440SP)
+ /*
+ * Soft-reset SDRAM controller.
+ */
+ mtsdr(sdr_srst, SDR0_SRST_DMC);
+ mtsdr(sdr_srst, 0x00000000);
+#endif
+
for (i=0; i<N_MB0CF; i++) {
/*
* Disable memory controller.