summaryrefslogtreecommitdiff
path: root/drivers/gpio/imx_rgpio2p.c
diff options
context:
space:
mode:
authorMasahisa Kojima <kojima.masahisa@socionext.com>2024-03-06 15:11:10 +0900
committerTom Rini <trini@konsulko.com>2024-03-13 18:47:11 -0400
commitf56d9a385cbf76d0ef7723faf65ec183c629a7ff (patch)
treef1410b59e4aa432f2b1af2ecf47ac032c0a9adff /drivers/gpio/imx_rgpio2p.c
parent5b05266928cd18e6bc94583dd41809e0b66ed87a (diff)
board: developerbox: fix mem_map setup timing
The setup of global variable mem_map was moved into enable_caches() by commit a70c75cabae1 ("board: developerbox: move mem_map setup later") since U-Boot was directly booted from NOR flash in XIP and bss is not yet available in dram_init() at that time. This has a problem, mem_map variable is used by the get_page_table_size() to calculate the page table size, but get_page_table_size() is called earlier than enable_caches() which fills mem_map variable. With that, U-Boot fails to boot when 64GB DIMM is installed. Currently U-Boot on the Developerbox board is not booted in XIP and bss is available in dram_init(), let's move mem_map setup in dram_init(). Signed-off-by: Masahisa Kojima <kojima.masahisa@socionext.com>
Diffstat (limited to 'drivers/gpio/imx_rgpio2p.c')
0 files changed, 0 insertions, 0 deletions