summaryrefslogtreecommitdiff
path: root/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc
diff options
context:
space:
mode:
authorYeoreum Yun <yeoreum.yun@arm.com>2026-05-27 12:42:12 +0300
committerSami Mujawar <sami.mujawar@arm.com>2026-09-30 18:09:40 +0300
commit799135a177885169b734062dd9d65ebeb00d72c2 (patch)
tree19a4488ea5f222cf2b416c8f44751d2aee552a2a /Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc
parent8d186bea8b2fe885845fb5542b5a4ae763e1251a (diff)
downloadedk2-platforms-master.tar.xz
Platform/ARM/VExpressPkg: update several memory regions for FWUHEADmaster
This is a preparatory patch to support runtime capsule updates, where image authentication is performed by the update agent running in StMM. The authentication process requires large buffer allocations to authenticate the firmware image. For this, TF-A updates the ARM_TZC_DRAM1_SIZE from 16MB to 64MB in case of SPMC_AT_EL3 is used with PSA_FWU_SUPPORT. As ARM_TZC_DRAM1_SIZE is increased, some of memory region definitions in *.dsc files should be changed since the image base of StandaloneMm is changed acoordingly [0]. Therefore, update those regions to work properly. Link: [0] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/53044/6 Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Diffstat (limited to 'Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc')
-rw-r--r--Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc8
1 files changed, 8 insertions, 0 deletions
diff --git a/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc b/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc
index c117d86866..223d13d0cb 100644
--- a/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc
+++ b/Platform/ARM/VExpressPkg/PlatformStandaloneMm.dsc
@@ -104,8 +104,16 @@
# at the start of System Memory.
# These regions are reserved by TF-A.
#
+!if $(ENABLE_FIRMWARE_UPDATE) == TRUE
+ #
+ # When ENABLE_FIRMWARE_UPDATE, TZC DRAM size is 64MB.
+ #
+ gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0xfbf10000
+ gEfiSecurityPkgTokenSpaceGuid.PcdTpmMaxAddress|0xfbf13fff
+!else
gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0xfef10000
gEfiSecurityPkgTokenSpaceGuid.PcdTpmMaxAddress|0xfef13fff
+!endif
gEfiSecurityPkgTokenSpaceGuid.PcdTpmCrbRegionSize|0x4000
#