Skip to content

Commit

Permalink
plat-stm32mp1: conf: fix tzdram default size when w/o rsv-shm
Browse files Browse the repository at this point in the history
Fix the default TZDRAM size that is 32MByte when CFG_CORE_RESERVED_SHM
is disable, not 30MByte.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
  • Loading branch information
etienne-lms authored and jforissier committed Oct 7, 2022
1 parent 6bf4a81 commit b0ba003
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/arch/arm/plat-stm32mp1/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ CFG_STM32MP1_SCMI_SHM_BASE ?= 0x2ffff000
CFG_STM32MP1_SCMI_SHM_SIZE ?= 0x00001000
ifeq ($(CFG_STM32MP15),y)
CFG_TZDRAM_START ?= 0xfe000000
ifeq ($(CFG_CORE_RESERVED_SHM),y)
CFG_TZDRAM_SIZE ?= 0x01e00000
else
CFG_TZDRAM_SIZE ?= 0x02000000
endif
CFG_TZSRAM_START ?= 0x2ffc0000
CFG_TZSRAM_SIZE ?= 0x0003f000
ifeq ($(CFG_CORE_RESERVED_SHM),y)
Expand Down

0 comments on commit b0ba003

Please sign in to comment.