diff options
author | roy zang <tie-fei.zang@freescale.com> | 2006-11-29 09:45:03 +0800 |
---|---|---|
committer | Zang Tiefei <roy@bus.ap.freescale.net> | 2006-11-29 09:45:03 +0800 |
commit | 6bd87c0aeea441c49d59fd542b84a9be88d08b17 (patch) | |
tree | e450a5f1e69a78a203a1e15167d7fefa43c5ce7e /cpu/ppc4xx/sdram.c | |
parent | 0a8eb59983047ae3bcc0babf3ee4d10d01abe7da (diff) | |
parent | d2c83f549378fb3fc34cb3c2e62fd772fbf8b68b (diff) | |
download | u-boot-imx-6bd87c0aeea441c49d59fd542b84a9be88d08b17.zip u-boot-imx-6bd87c0aeea441c49d59fd542b84a9be88d08b17.tar.gz u-boot-imx-6bd87c0aeea441c49d59fd542b84a9be88d08b17.tar.bz2 |
Solve the copyright conflicts when merging 'master' into hpc2.
Merge branch 'master' into hpc2
Conflicts:
drivers/cfi_flash.c
Diffstat (limited to 'cpu/ppc4xx/sdram.c')
-rw-r--r-- | cpu/ppc4xx/sdram.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/ppc4xx/sdram.c b/cpu/ppc4xx/sdram.c index faeea5c..f06038e 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. |