projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mpc83xx: spd_sdram: fix ddr sdram base address assignment bug
[oweals/u-boot.git]
/
board
/
sbc8349
/
sbc8349.c
diff --git
a/board/sbc8349/sbc8349.c
b/board/sbc8349/sbc8349.c
index 4a44fda31e917711ff1cb828df3dd125fe58f192..93ada0b5b47d5273361fc7ccc2505594b40bea8b 100644
(file)
--- a/
board/sbc8349/sbc8349.c
+++ b/
board/sbc8349/sbc8349.c
@@
-101,7
+101,7
@@
int fixed_sdram(void)
return -1;
}
}
- im->sysconf.ddrlaw[0].bar =
((CFG_DDR_SDRAM_BASE>>12) & 0xfffff)
;
+ im->sysconf.ddrlaw[0].bar =
CFG_DDR_SDRAM_BASE & 0xfffff000
;
im->sysconf.ddrlaw[0].ar = LAWAR_EN | ((ddr_size_log2 - 1) & LAWAR_SIZE);
#if (CFG_DDR_SIZE != 256)