]> git.sur5r.net Git - u-boot/commitdiff
TQM85xx: Fix bug introduced by 83xx/85xx/86xx: LBC register cleanup
authorBecky Bruce <beckyb@kernel.crashing.org>
Thu, 11 Nov 2010 17:33:05 +0000 (11:33 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 12 Nov 2010 15:45:16 +0000 (09:45 -0600)
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>
board/tqc/tqm85xx/tqm85xx.c

index 2c3885f23c39f78d5b2d451d7018b7f469009f22..b21e7914c34d0a3bb244cfe4f2844ac702c2be95 100644 (file)
@@ -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));
 
        /*