Skip to content

Commit

Permalink
plat-vexpress: relax CFG_ASAN_SHADOW_OFFSET configuration value
Browse files Browse the repository at this point in the history
Fixes CFG_ASAN_SHADOW_OFFSET configuration value for vexpress
platform qemu* flavors. Before this change CFG_ASAN_SHADOW_OFFSET
variable needed a specific scope to override the default value set
by platform conf.mk file.

Fixes: 24475b5 ("plat-vexpress: move CFG_TEE_CORE_NB_CORE to platform conf.mk")
Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
etienne-lms committed Nov 20, 2023
1 parent b958d7e commit da00889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/arch/arm/plat-vexpress/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ ifeq ($(CFG_CORE_SANITIZE_KADDRESS),y)
# This is unfortunately currently not possible to do in make so we have to
# calculate it offline, there's some asserts in
# core/arch/arm/kernel/generic_boot.c to check that we got it right
CFG_ASAN_SHADOW_OFFSET = 0xc6a71c0
CFG_ASAN_SHADOW_OFFSET ?= 0xc6a71c0
endif
$(call force,CFG_BOOT_SECONDARY_REQUEST,y)
$(call force,CFG_PSCI_ARM32,y)
Expand All @@ -140,7 +140,7 @@ CFG_SHMEM_SIZE ?= 0x00200000
CFG_TEE_SDP_MEM_SIZE ?= 0x00400000
ifeq ($(CFG_CORE_SANITIZE_KADDRESS),y)
# See comment above
CFG_ASAN_SHADOW_OFFSET = 0xc6a71c0
CFG_ASAN_SHADOW_OFFSET ?= 0xc6a71c0
endif
endif
$(call force,CFG_DT,y)
Expand Down

0 comments on commit da00889

Please sign in to comment.