[PATCH 03/11] mach-snapdragon: use 1MiB for get_page_table_size()

Caleb Connolly caleb.connolly at linaro.org
Fri Aug 9 01:59:26 CEST 2024


From: Neil Armstrong <neil.armstrong at linaro.org>

With 14+ entries in the memory map, we need quite a bit more space for
the page tables.

Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>
---
 arch/arm/mach-snapdragon/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c
index 8947cf913dff..0e8234a62b28 100644
--- a/arch/arm/mach-snapdragon/board.c
+++ b/arch/arm/mach-snapdragon/board.c
@@ -416,9 +416,9 @@ static void build_mem_map(void)
 }
 
 u64 get_page_table_size(void)
 {
-	return SZ_64K;
+	return SZ_1M;
 }
 
 static int fdt_cmp_res(const void *v1, const void *v2)
 {

-- 
2.46.0



More information about the U-Boot mailing list