diff options
author | Wolfgang Denk <wd@denx.de> | 2008-10-12 23:25:50 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-10-12 23:25:50 +0200 |
commit | 1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe (patch) | |
tree | e649f78027dcb8432d90f99aed284d711b36582d /board/freescale/mpc8315erdb/sdram.c | |
parent | 33af3e6656e84660d397b5dd95abab2dccc36f83 (diff) | |
parent | 72c55878ecb1f0fdc8bc13516e5cb18fbae505e7 (diff) | |
download | u-boot-imx-1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe.zip u-boot-imx-1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe.tar.gz u-boot-imx-1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe.tar.bz2 |
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
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 07e6486..3714c2c 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; |