Re: [PATCH] ARM: uniphier: Move uniphier_mem_map_init() call into dram_init()

2024-04-12 Thread Tom Rini
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_tabl

[PATCH] ARM: uniphier: Move uniphier_mem_map_init() call into dram_init()

2024-04-05 Thread Kunihiko Hayashi
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