X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=board%2Ffreescale%2Fp1_p2_rdb%2Fp1_p2_rdb.c;h=3af660e775306710682a233e20512160f858368a;hb=a7709d926dbc7cb1541034fcf2b21ce3e838cb12;hp=4c03468a2453533f96c10662f9fb67231dff1798;hpb=3aa8b68d80dbcb6829af60485c1e388b39af793d;p=u-boot diff --git a/board/freescale/p1_p2_rdb/p1_p2_rdb.c b/board/freescale/p1_p2_rdb/p1_p2_rdb.c index 4c03468a24..3af660e775 100644 --- a/board/freescale/p1_p2_rdb/p1_p2_rdb.c +++ b/board/freescale/p1_p2_rdb/p1_p2_rdb.c @@ -131,7 +131,7 @@ int checkboard (void) int board_early_init_r(void) { const unsigned int flashbase = CONFIG_SYS_FLASH_BASE; - const u8 flash_esel = 2; + const u8 flash_esel = find_tlb_idx((void *)flashbase, 1); /* * Remap Boot flash region to caching-inhibited