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/MinnowBoard3/BoardInitPreMem/PlatformId.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/MinnowBoard3/BoardInitPreMem/PlatformId.c')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/PlatformId.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/PlatformId.c b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/PlatformId.c index bacdab1f22..5b9da16d55 100644 --- a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/PlatformId.c +++ b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/PlatformId.c @@ -22,7 +22,7 @@ EFI_STATUS
EFIAPI
-GetEmbeddedBoardIdFabId(
+Minnow3GetEmbeddedBoardIdFabId(
IN CONST EFI_PEI_SERVICES **PeiServices,
OUT UINT8 *BoardId,
OUT UINT8 *FabId
@@ -89,7 +89,7 @@ GetEmbeddedBoardIdFabId( (((GpioPadRead (GetCommOffset (NORTHWEST, 0x00C8) + BXT_GPIO_PAD_CONF0_OFFSET) & BIT1) >> 1) << 2) | \
(((GpioPadRead (GetCommOffset (NORTH, 0x01E0) + BXT_GPIO_PAD_CONF0_OFFSET) & BIT1) >> 1) << 3));
- DEBUG ((DEBUG_INFO, "BoardId from PMIC strap: %02X\n", *BoardId));
+ DEBUG ((DEBUG_INFO, "BoardId: %02X\n", *BoardId));
//
// Fab_ID0: PMIC_I2C_SDA
@@ -147,7 +147,7 @@ GetEmbeddedBoardIdFabId( (((GpioPadRead (GetCommOffset (NORTHWEST, 0x00D8) + BXT_GPIO_PAD_CONF0_OFFSET) & BIT1) >> 1) << 2) | \
(((GpioPadRead (GetCommOffset (NORTHWEST, 0x00E0) + BXT_GPIO_PAD_CONF0_OFFSET) & BIT1) >> 1) << 3));
- DEBUG ((EFI_D_INFO, "FabId from PMIC strap: %02X\n", *FabId));
+ DEBUG ((EFI_D_INFO, "FabId: %02X\n", *FabId));
return EFI_SUCCESS;
@@ -156,7 +156,7 @@ GetEmbeddedBoardIdFabId( EFI_STATUS
EFIAPI
-GetIVIBoardIdFabId (
+MinnowGetIVIBoardIdFabId (
IN CONST EFI_PEI_SERVICES **PeiServices,
OUT UINT8 *BoardId,
OUT UINT8 *FabId
|