|
@@ -313,7 +313,7 @@ void pci_init_board(void)
|
|
int board_early_init_r(void)
|
|
int board_early_init_r(void)
|
|
{
|
|
{
|
|
const unsigned int flashbase = CONFIG_SYS_FLASH_BASE;
|
|
const unsigned int flashbase = CONFIG_SYS_FLASH_BASE;
|
|
- const u8 flash_esel = 1;
|
|
|
|
|
|
+ const u8 flash_esel = find_tlb_idx((void *)flashbase, 1);
|
|
|
|
|
|
/*
|
|
/*
|
|
* Remap Boot flash + PROMJET region to caching-inhibited
|
|
* Remap Boot flash + PROMJET region to caching-inhibited
|