[PATCH -next v6 01/10] mach-k3: use minimal memory map for all K3
Dhruva Gole
d-gole at ti.com
Wed Sep 10 11:42:51 CEST 2025
On Sep 05, 2025 at 13:48:52 +0530, Anshul Dalal wrote:
> The K3 family of SoCs encompasses a wide variety of devices with varying
Nit: s/encompasses/encompass
> DDR configurations and memory carveout requirements, the current static
> memory map provides basic support for TI EVMs but does not scale well
> for newer platforms (such as AM62SiP with 512MiB of RAM).
>
> Therefore this patch replaces the existing memory map with a minimal
> one, that could be more easily modified at runtime.
>
> Signed-off-by: Anshul Dalal <anshuld at ti.com>
> ---
> arch/arm/mach-k3/arm64/arm64-mmu.c | 32 ++++++++++--------------------
> 1 file changed, 10 insertions(+), 22 deletions(-)
>
> diff --git a/arch/arm/mach-k3/arm64/arm64-mmu.c b/arch/arm/mach-k3/arm64/arm64-mmu.c
> index 0e07b1b7ce0..79650a7e346 100644
> --- a/arch/arm/mach-k3/arm64/arm64-mmu.c
> +++ b/arch/arm/mach-k3/arm64/arm64-mmu.c
> @@ -11,42 +11,30 @@
>
> #include <asm/system.h>
> #include <asm/armv8/mmu.h>
> +#include <linux/sizes.h>
>
> struct mm_region k3_mem_map[] = {
> - {
> + { /* SoC Peripherals */
> .virt = 0x0UL,
> .phys = 0x0UL,
> .size = 0x80000000UL,
> .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
> PTE_BLOCK_NON_SHARE |
> PTE_BLOCK_PXN | PTE_BLOCK_UXN
[...]
Reviewed-by: Dhruva Gole <d-gole at ti.com>
--
Best regards,
Dhruva Gole
Texas Instruments Incorporated
More information about the U-Boot
mailing list