diff options
author | Maurice Ma <maurice.ma@intel.com> | 2016-05-18 16:27:07 -0700 |
---|---|---|
committer | Maurice Ma <maurice.ma@intel.com> | 2016-05-18 16:30:18 -0700 |
commit | 298454472bf4cf088a694bafa3b66503b4f8a39d (patch) | |
tree | 735be89727adbf71f53a3a93857285e63f4a0075 /CorebootModulePkg/CbSupportPei/CbSupportPei.inf | |
parent | 81c1460695f783a3f91431b2babea623556a7f5d (diff) | |
download | edk2-298454472bf4cf088a694bafa3b66503b4f8a39d.tar.gz edk2-298454472bf4cf088a694bafa3b66503b4f8a39d.tar.bz2 edk2-298454472bf4cf088a694bafa3b66503b4f8a39d.zip |
CorebootModulePkg: Use PCD for memory type information initialization
CorebootModulePkg currently uses a hardcoded table for memory type
initialization. It might need to be adjusted by platform to reduce
the memory fragmentation. So changing to use PCDs rather than
constant values to facilitate the customization.
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
Diffstat (limited to 'CorebootModulePkg/CbSupportPei/CbSupportPei.inf')
-rw-r--r-- | CorebootModulePkg/CbSupportPei/CbSupportPei.inf | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/CorebootModulePkg/CbSupportPei/CbSupportPei.inf b/CorebootModulePkg/CbSupportPei/CbSupportPei.inf index b88b6f07ff..4905bdbd8e 100644 --- a/CorebootModulePkg/CbSupportPei/CbSupportPei.inf +++ b/CorebootModulePkg/CbSupportPei/CbSupportPei.inf @@ -4,7 +4,7 @@ # Parses coreboot table in memory and report resource information into pei core. It will install
# the memory as required.
#
-# Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -62,12 +62,17 @@ gUefiAcpiBoardInfoGuid
[Ppis]
- gEfiPeiMasterBootModePpiGuid
+ gEfiPeiMasterBootModePpiGuid
[Pcd]
gUefiCorebootModulePkgTokenSpaceGuid.PcdPayloadFdMemBase
gUefiCorebootModulePkgTokenSpaceGuid.PcdPayloadFdMemSize
- gUefiCorebootModulePkgTokenSpaceGuid.PcdCbHeaderPointer
-
+ gUefiCorebootModulePkgTokenSpaceGuid.PcdCbHeaderPointer
+ gUefiCorebootModulePkgTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory
+ gUefiCorebootModulePkgTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS
+ gUefiCorebootModulePkgTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType
+ gUefiCorebootModulePkgTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData
+ gUefiCorebootModulePkgTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode
+
[Depex]
TRUE
\ No newline at end of file |