diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2006-11-28 23:35:49 -0600 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2006-11-28 23:35:49 -0600 |
commit | 32081125a028aff9e93af5281c777b0745ef8558 (patch) | |
tree | 4e4f95da64aed9db11bb245a00e5c0bead04ad23 /cpu/ppc4xx/sdram.c | |
parent | cf3d045e51ca8dcc6cf759827140861d6ac25c04 (diff) | |
parent | d2c83f549378fb3fc34cb3c2e62fd772fbf8b68b (diff) | |
download | u-boot-imx-32081125a028aff9e93af5281c777b0745ef8558.zip u-boot-imx-32081125a028aff9e93af5281c777b0745ef8558.tar.gz u-boot-imx-32081125a028aff9e93af5281c777b0745ef8558.tar.bz2 |
Merge http://www.denx.de/git/u-boot
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. |