diff options
author | zwei4 <david.wei@intel.com> | 2017-09-29 17:19:00 +0800 |
---|---|---|
committer | zwei4 <david.wei@intel.com> | 2017-09-29 18:16:44 +0800 |
commit | fa673e3638798c1fab18cf5e3cc4c3036fdb13e7 (patch) | |
tree | e12c763a6ab5a19509b84faea52c137aa60aa839 /Platform/BroxtonPlatformPkg/Board/BensonGlacier | |
parent | 734b7c2bdcbae9dc95fbe3514fee3939fbdc8412 (diff) | |
download | edk2-platforms-fa673e3638798c1fab18cf5e3cc4c3036fdb13e7.tar.xz |
VBT table change
Move VBT tables from common folder into board specific folders.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: zwei4 <david.wei@intel.com>
Cc: Loeppert, Anthony <anthony.loeppert@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Board/BensonGlacier')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInit.c | 7 | ||||
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInitPostMem.inf | 2 | ||||
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/BensonGlacier/Vbt/VbtBxtEdp.bin | bin | 0 -> 5632 bytes | |||
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/BensonGlacier/Vbt/VbtBxtMipi.bin | bin | 0 -> 5632 bytes |
4 files changed, 9 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInit.c b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInit.c index a4f3414b49..8b21b50a7e 100644 --- a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInit.c +++ b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInit.c @@ -49,6 +49,7 @@ BensonGlacierPostMemInitCallback ( UINT8 BoardId;
UINT8 FabId;
UINT8 ResetType;
+ UINTN BufferSize;
Status = PeiServicesLocatePpi (
&gBoardPostMemInitDoneGuid,
@@ -83,6 +84,12 @@ BensonGlacierPostMemInitCallback ( PcdSet8 (PcdResetType, (UINT8) ResetType);
//
+ // Board specific VBT table.
+ //
+ BufferSize = sizeof (EFI_GUID);
+ PcdSetPtr(PcdBoardVbtFileGuid, &BufferSize, (UINT8 *)&gPeiBensonGlacierVbtGuid);
+
+ //
// Add init steps here
//
//
diff --git a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInitPostMem.inf b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInitPostMem.inf index 4ce6ab2dbc..c22bfadb51 100644 --- a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInitPostMem.inf +++ b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/BoardInitPostMem/BoardInitPostMem.inf @@ -62,6 +62,7 @@ gPlatformModuleTokenSpaceGuid.PcdBoardId
gPlatformModuleTokenSpaceGuid.PcdFabId
gPlatformModuleTokenSpaceGuid.PcdResetType
+ gPlatformModuleTokenSpaceGuid.PcdBoardVbtFileGuid
[Guids]
gEfiPlatformInfoGuid
@@ -73,6 +74,7 @@ gEfiTpmDeviceInstanceTpm12Guid
gEfiTpmDeviceInstanceTpm20DtpmGuid
gTpmDeviceInstanceTpm20PttPtpGuid
+ gPeiBensonGlacierVbtGuid
[Ppis]
gBoardPostMemInitStartGuid
diff --git a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/Vbt/VbtBxtEdp.bin b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/Vbt/VbtBxtEdp.bin Binary files differnew file mode 100644 index 0000000000..7b4e32699b --- /dev/null +++ b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/Vbt/VbtBxtEdp.bin diff --git a/Platform/BroxtonPlatformPkg/Board/BensonGlacier/Vbt/VbtBxtMipi.bin b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/Vbt/VbtBxtMipi.bin Binary files differnew file mode 100644 index 0000000000..23b52baea1 --- /dev/null +++ b/Platform/BroxtonPlatformPkg/Board/BensonGlacier/Vbt/VbtBxtMipi.bin |