summaryrefslogtreecommitdiff
path: root/board/freescale/mpc837xemds
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-10-12 23:25:50 +0200
committerWolfgang Denk <wd@denx.de>2008-10-12 23:25:50 +0200
commit1e841086df55d6b8f2efcf0e5dfb5fc52a0c7bbe (patch)
treee649f78027dcb8432d90f99aed284d711b36582d /board/freescale/mpc837xemds
parent33af3e6656e84660d397b5dd95abab2dccc36f83 (diff)
parent72c55878ecb1f0fdc8bc13516e5cb18fbae505e7 (diff)
downloadu-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/mpc837xemds')
-rw-r--r--board/freescale/mpc837xemds/mpc837xemds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c
index 40f1e63..8003ec1 100644
--- a/board/freescale/mpc837xemds/mpc837xemds.c
+++ b/board/freescale/mpc837xemds/mpc837xemds.c
@@ -108,7 +108,7 @@ int 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);
#if (CFG_DDR_SIZE != 512)