u-boot/board/socionext/developerbox
Masahisa Kojima f56d9a385c board: developerbox: fix mem_map setup timing
The setup of global variable mem_map was moved into enable_caches()
by commit a70c75caba ("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>
2024-03-13 18:47:11 -04:00
..
developerbox.c board: developerbox: fix mem_map setup timing 2024-03-13 18:47:11 -04:00
fwu_plat.c FWU: developerbox: read boot index from NOR flash 2024-03-02 12:26:19 -05:00
Kconfig pci: Drop DM_PCI 2021-09-13 18:23:13 -04:00
MAINTAINERS board: synquacer: developerbox: add myself as maintainer 2024-03-04 10:25:47 -05:00
Makefile fwu: DeveloperBox: add support for FWU 2023-06-09 13:52:40 -04:00