Skip to content

Commit

Permalink
hikey960: add ASAN shadow offset for 32-bit build
Browse files Browse the repository at this point in the history
Adds the proper CFG_ASAN_SHADOW_OFFSET value for HiKey960 in 32-bit
mode. This allows to run with the kernel address sanitizer enabled
(CFG_CORE_SANITIZE_KADDRESS=y).

Signed-off-by: Jerome Forissier <[email protected]>
Acked-by: Jens Wiklander <[email protected]>
  • Loading branch information
jforissier committed Sep 4, 2019
1 parent 53b7629 commit a28e3d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/arch/arm/plat-hikey/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ CFG_CONSOLE_UART ?= 6
CFG_DRAM_SIZE_GB ?= 3
CFG_CORE_BGET_BESTFIT ?= y
CFG_TA_ASLR ?= y
ifeq ($(CFG_ARM32_core),y)
CFG_ASAN_SHADOW_OFFSET ?= 0x372E38E0
endif
endif

CFG_TZDRAM_START ?= 0x3F000000
Expand Down

0 comments on commit a28e3d9

Please sign in to comment.