summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Marinho <jose.marinho@arm.com>2020-12-17 21:25:53 +0000
committerJose Marinho <jose.marinho@arm.com>2021-08-04 19:48:51 +0100
commit782cb6eb931a8d1f5a44dea9e73cd4bf15befd41 (patch)
treead68839e7c725d2b4faefd4a5abd693d19ecbc1e
parent15f68736cd266c61feb240737d6933c50ea39632 (diff)
[FWU proto] Add PCDs required for the FWU proto
The following PCSds were added to the gEfiMdeModulePkgTokenSpaceGuid space: NVCounter Trial PcdFWUpdateBaseAddress PcdFWUpdateAImageOffset PcdFWUpdateBImageOffset PcdMetadataMainOffset PcdMetadataFallbackOffset PcdFWUpdateSWdNvCtrOffset Signed-off-by: jmarinho <jose.marinho@arm.com>
-rw-r--r--MdeModulePkg/MdeModulePkg.dec16
1 files changed, 16 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 9173fdef83..4cc95dfe44 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -156,6 +156,8 @@
[Guids]
## MdeModule package token space guid
+ gArmInitData = { 0x0, 0x0, 0x0, { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1 }}
+
# Include/Guid/MdeModulePkgTokenSpace.h
gEfiMdeModulePkgTokenSpaceGuid = { 0xA1AFF049, 0xFDEB, 0x442a, { 0xB3, 0x20, 0x13, 0xAB, 0x4C, 0xB7, 0x2B, 0xBC }}
@@ -1596,6 +1598,19 @@
# @Prompt Base address of flash NV variable range.
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001
+ gEfiMdeModulePkgTokenSpaceGuid.NVCounter|0|UINT32|0x9000000
+ gEfiMdeModulePkgTokenSpaceGuid.Trial|0|UINT32|0x90000001
+
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFWUpdateBaseAddress|0x0|UINT32|0x31000015
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFWUpdateAImageOffset|0x0|UINT32|0x31000017
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFWUpdateBImageOffset|0x0|UINT32|0x31000018
+
+
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMetadataMainOffset|0x0|UINT32|0x31000019
+ gEfiMdeModulePkgTokenSpaceGuid.PcdMetadataFallbackOffset|0x0|UINT32|0x3100001A
+
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFWUpdateSWdNvCtrOffset|0x0|UINT32|0x3100001B
+
## Size of the NV variable range. Note that this value should less than or equal to PcdFlashNvStorageFtwSpareSize.
# The root cause is that variable driver will use FTW protocol to reclaim variable region.
# If the length of variable region is larger than FTW spare size, it means the whole variable region can not
@@ -2127,5 +2142,6 @@
# @Prompt 64bit VPD base address.
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress64|0x0|UINT64|0x00030006
+
[UserExtensions.TianoCore."ExtraFiles"]
MdeModulePkgExtra.uni