diff options
author | Stefan Roese <sr@denx.de> | 2008-10-13 11:17:31 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-10-13 11:17:31 +0200 |
commit | 1f6aa622e365fef9d87de84753eb08347e310a2a (patch) | |
tree | 232149e6d93c9387b03628c5d3283cecf7719476 /cpu/mpc83xx | |
parent | 542b385a620a1783454a00424930e51895f45073 (diff) | |
parent | df4a0796e86662536df2387ddcf969c2a704bcc2 (diff) | |
download | u-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.zip u-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.tar.gz u-boot-imx-1f6aa622e365fef9d87de84753eb08347e310a2a.tar.bz2 |
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'cpu/mpc83xx')
-rw-r--r-- | cpu/mpc83xx/spd_sdram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc83xx/spd_sdram.c b/cpu/mpc83xx/spd_sdram.c index 76f2474..f4a0e90 100644 --- a/cpu/mpc83xx/spd_sdram.c +++ b/cpu/mpc83xx/spd_sdram.c @@ -274,7 +274,7 @@ long int spd_sdram() /* * Set up LAWBAR for all of DDR. */ - ecm->bar = ((CFG_DDR_SDRAM_BASE>>12) & 0xfffff); + ecm->bar = CFG_DDR_SDRAM_BASE & 0xfffff000; ecm->ar = (LAWAR_EN | LAWAR_TRGT_IF_DDR | (LAWAR_SIZE & law_size)); debug("DDR:bar=0x%08x\n", ecm->bar); debug("DDR:ar=0x%08x\n", ecm->ar); |