[PATCH -next v8 11/11] arm: mach-k3: reserve space for page table entries

Dhruva Gole d-gole at ti.com
Wed Oct 8 15:53:31 CEST 2025


On Oct 06, 2025 at 13:58:49 +0530, Anshul Dalal wrote:
> With the memory map configuration being done dynamically, reserve extra
> space during U-Boot relocation to ensure we have enough for the fixups.
> 
> Signed-off-by: Anshul Dalal <anshuld at ti.com>
> ---
>  arch/arm/mach-k3/arm64/arm64-mmu.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> 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;
> +}

Reviewed-by: Dhruva Gole <d-gole at ti.com>

-- 
Best regards,
Dhruva Gole
Texas Instruments Incorporated


More information about the U-Boot mailing list