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 /board/freescale/mpc8315erdb/sdram.c | |
parent | 542b385a620a1783454a00424930e51895f45073 (diff) | |
parent | df4a0796e86662536df2387ddcf969c2a704bcc2 (diff) |
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'board/freescale/mpc8315erdb/sdram.c')
-rw-r--r-- | board/freescale/mpc8315erdb/sdram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc8315erdb/sdram.c b/board/freescale/mpc8315erdb/sdram.c index 07e6486eea..3714c2c2ef 100644 --- a/board/freescale/mpc8315erdb/sdram.c +++ b/board/freescale/mpc8315erdb/sdram.c @@ -60,7 +60,7 @@ static long fixed_sdram(void) u32 msize = CFG_DDR_SIZE * 1024 * 1024; u32 msize_log2 = __ilog2(msize); - im->sysconf.ddrlaw[0].bar = CFG_DDR_SDRAM_BASE >> 12; + im->sysconf.ddrlaw[0].bar = CFG_DDR_SDRAM_BASE & 0xfffff000; im->sysconf.ddrlaw[0].ar = LBLAWAR_EN | (msize_log2 - 1); im->sysconf.ddrcdr = CFG_DDRCDR_VALUE; |