]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: mach-k3: reserve space for page table entries
authorAnshul Dalal <anshuld@ti.com>
Fri, 17 Oct 2025 13:15:33 +0000 (18:45 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 22 Oct 2025 18:05:53 +0000 (12:05 -0600)
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 <d-gole@ti.com>
Signed-off-by: Anshul Dalal <anshuld@ti.com>
arch/arm/mach-k3/arm64/arm64-mmu.c

index 479451452a2148f8bf1f15cdb36e8b2df90ae47f..f999af143fba5d853069251aeb2fd15adabec6df 100644 (file)
@@ -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;
+}