summaryrefslogtreecommitdiffstats
path: root/board/tqc
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2010-11-11 11:33:05 -0600
committerKumar Gala <galak@kernel.crashing.org>2010-11-12 09:45:16 -0600
commitb1b7646493f1ccb42f0d78ad210116205e679986 (patch)
treefb11b659d96ee45ea2be39fcac1df78edcea5061 /board/tqc
parent46299078e6b99f6252a4328a12fa0b3305d04b5e (diff)
downloadblackbird-obmc-uboot-b1b7646493f1ccb42f0d78ad210116205e679986.tar.gz
blackbird-obmc-uboot-b1b7646493f1ccb42f0d78ad210116205e679986.zip
TQM85xx: Fix bug introduced by 83xx/85xx/86xx: LBC register cleanup
The size of the other bank needed to be added to the br0 setting; this got dropped in the LBC cleanup. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Tested-by: Wolfgang Denk <wd@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/tqc')
-rw-r--r--board/tqc/tqm85xx/tqm85xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tqc/tqm85xx/tqm85xx.c b/board/tqc/tqm85xx/tqm85xx.c
index 2c3885f23c..b21e7914c3 100644
--- a/board/tqc/tqm85xx/tqm85xx.c
+++ b/board/tqc/tqm85xx/tqm85xx.c
@@ -298,7 +298,7 @@ int misc_init_r (void)
*/
set_lbc_or(0, ((-flash_info[1].size) & 0xffff8000) |
(CONFIG_SYS_OR0_PRELIM & 0x00007fff));
- set_lbc_br(0, gd->bd->bi_flashstart |
+ set_lbc_br(0, (gd->bd->bi_flashstart + flash_info[0].size) |
(CONFIG_SYS_BR0_PRELIM & 0x00007fff));
/*
OpenPOWER on IntegriCloud