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 <huibin.hong@rock-chips.com>
This commit is contained in:
Huibin Hong
2024-07-31 17:22:55 +08:00
committed by Tao Huang
parent e104bbb1bc
commit a63cc34511

View File

@@ -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