diff options
author | zwei4 <david.wei@intel.com> | 2017-07-13 22:41:16 +0800 |
---|---|---|
committer | zwei4 <david.wei@intel.com> | 2017-07-13 22:41:16 +0800 |
commit | 3bfaf23e95c68881bcbbfedececdece4cdff95f8 (patch) | |
tree | a2fa529e7180bb207fde8f2cca3ba89adaa33184 /Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInit.c | |
parent | 77de52c8dadec9e995590902dfd55b28ab2465e4 (diff) | |
download | edk2-platforms-3bfaf23e95c68881bcbbfedececdece4cdff95f8.tar.xz |
Multi board support.
Cleanup libraries for multi boards.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInit.c')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInit.c b/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInit.c index 5dab22514a..aa22e5622e 100644 --- a/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInit.c +++ b/Platform/BroxtonPlatformPkg/Board/LeafHill/BoardInitPreMem/BoardInit.c @@ -31,14 +31,14 @@ LeafHillPreMemInit ( IN PEI_BOARD_PRE_MEM_INIT_PPI *This
);
-static PEI_BOARD_PRE_MEM_INIT_PPI mPreMemInitPpiInstance = {
+static PEI_BOARD_PRE_MEM_INIT_PPI mLeafHillPreMemInitPpiInstance = {
LeafHillPreMemInit
};
static EFI_PEI_PPI_DESCRIPTOR mLeafHillPreMemInitPpi = {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gBoardPreMemInitPpiGuid,
- &mPreMemInitPpiInstance
+ &mLeafHillPreMemInitPpiInstance
};
static EFI_PEI_PPI_DESCRIPTOR mLeafHillPreMemInitDonePpi = {
@@ -76,7 +76,7 @@ LeafHillPreMemInit ( //
// Pre Mem Board Init
//
- Status = GetEmbeddedBoardIdFabId (PeiServices, &BoardId, &FabId);
+ Status = LeafHillGetEmbeddedBoardIdFabId (PeiServices, &BoardId, &FabId);
if (BoardId != (UINT8) BOARD_ID_LFH_CRB) {
DEBUG ((EFI_D_INFO, "Not a Leaf Hill Board - skip\n"));
return EFI_SUCCESS;
|