
12 Apr
2024
12 Apr
'24
8:52 p.m.
On Fri, Apr 05, 2024 at 05:37:15PM +0900, Kunihiko Hayashi wrote:
The function uniphier_mem_map_init() is to change global variable 'mem_map', which is referenced to get_page_table_size() to calculate the size of page table.
However, uniphier_mem_map_init() is called after get_page_table_size(), so the size of page table and 'mem_map' become inconsist each other. After all, U-Boot fails to boot on chip with memory map different from default map,
uniphier_mem_map_init() should be moved to dram_init(), which is called before get_page_table_size().
Signed-off-by: Kunihiko Hayashi hayashi.kunihiko@socionext.com
Applied to u-boot/master, thanks!
--
Tom