summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnshul Dalal <[email protected]>2025-10-17 18:45:33 +0530
committerTom Rini <[email protected]>2025-10-22 12:05:53 -0600
commit342fd918b1bf2f00f52216297d5fe22272e8c7ca (patch)
treef4964b4e9a7dc85b72ebf0c72b3ca0211338257a
parent4f5285f0e640c3e9b40420ba3b11358446646b11 (diff)
arm: mach-k3: reserve space for page table entries
With the memory map configuration being done dynamically, reserve extra space during U-Boot relocation to ensure we have enough for the fixups. Reviewed-by: Dhruva Gole <[email protected]> Signed-off-by: Anshul Dalal <[email protected]>
-rw-r--r--arch/arm/mach-k3/arm64/arm64-mmu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/arm64/arm64-mmu.c b/arch/arm/mach-k3/arm64/arm64-mmu.c
index 479451452a2..f999af143fb 100644
--- a/arch/arm/mach-k3/arm64/arm64-mmu.c
+++ b/arch/arm/mach-k3/arm64/arm64-mmu.c
@@ -41,3 +41,8 @@ struct mm_region k3_mem_map[K3_MEM_MAP_LEN] = {
};
struct mm_region *mem_map = k3_mem_map;
+
+u64 get_page_table_size(void)
+{
+ return SZ_128K;
+}