summaryrefslogtreecommitdiffstats
path: root/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
diff options
context:
space:
mode:
authorChasel, Chiu <chasel.chiu@intel.com>2017-11-23 10:22:45 +0800
committerChasel, Chiu <chasel.chiu@intel.com>2017-11-29 15:52:25 +0800
commite69dcef54e03a193964e1ca39769d8a394ccde9d (patch)
tree421899e511dd7594e6768079aad1d9d5ef0d73e3 /IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
parent984ba6a467476363d7092b4da3953cce6dcbfd41 (diff)
downloadedk2-e69dcef54e03a193964e1ca39769d8a394ccde9d.tar.gz
edk2-e69dcef54e03a193964e1ca39769d8a394ccde9d.tar.bz2
edk2-e69dcef54e03a193964e1ca39769d8a394ccde9d.zip
IntelFsp2WrapperPkg: Support UPD allocation outside FspWrapper
UPD allocation and patching can be done outside FspWrapper as implementation choice so adding a PCD to select between original FspWrapper allocation model or outside model Cc: Jiewen Yao <Jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec')
-rw-r--r--IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec13
1 files changed, 11 insertions, 2 deletions
diff --git a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
index c0881852c5..7634619f80 100644
--- a/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
+++ b/IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
@@ -1,7 +1,7 @@
## @file
# Provides drivers and definitions to support fsp in EDKII bios.
#
-# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2014 - 2017, 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 that accompanies this distribution.
# The full text of the license may be found at
@@ -95,4 +95,13 @@
[PcdsFixedAtBuild, PcdsPatchableInModule,PcdsDynamic,PcdsDynamicEx]
gIntelFsp2WrapperTokenSpaceGuid.PcdFspsBaseAddress|0x00000000|UINT32|0x00001001
- \ No newline at end of file
+ #
+ # To provide flexibility for platform to pre-allocate FSP UPD buffer
+ #
+ # The PCDs define the pre-allocated FSPM and FSPS UPD Data Buffer Address.
+ # 0x00000000 - Platform will not pre-allocate UPD buffer before FspWrapper module
+ # non-zero - Platform will pre-allocate UPD buffer and patch this value to
+ # buffer address before FspWrapper module executing.
+ #
+ gIntelFsp2WrapperTokenSpaceGuid.PcdFspmUpdDataAddress|0x00000000|UINT32|0x50000000
+ gIntelFsp2WrapperTokenSpaceGuid.PcdFspsUpdDataAddress|0x00000000|UINT32|0x50000001 \ No newline at end of file