From a63cc34511b8248bf4e034ece7d3c376e3c40e74 Mon Sep 17 00:00:00 2001 From: Huibin Hong Date: Wed, 31 Jul 2024 17:22:55 +0800 Subject: [PATCH] ARM: rockchip: Locate kernel add 0x00108000 if CPU_RK3506 The memory layout of the 0-1MB: kernel PLAT_SHM TEE TA TA_SHM Pstore |---------|------------|----------|-------|----------|------------| | 240K | 16k | 376k | 4kb | 4kb | 380k | |---------|------------|----------|-------|----------|------------| @0k @240k @256k @640k @644k @1024k Change-Id: I9d831c8d2dd5b27efc9519a495c401be259c0e4c Signed-off-by: Huibin Hong --- arch/arm/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 72cff9372e09..41d740b0e52d 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -157,6 +157,7 @@ textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000 textofs-$(CONFIG_ARCH_MESON) := 0x00208000 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 textofs-$(CONFIG_CPU_RK3308) := 0x00058000 +textofs-$(CONFIG_CPU_RK3506) := 0x00108000 ifeq ($(CONFIG_ROCKCHIP_THUNDER_BOOT),y) textofs-$(CONFIG_CPU_RV1106) := 0x00208000 textofs-$(CONFIG_CPU_RV1126) := 0x00608000