summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/PlatformPei
diff options
context:
space:
mode:
authorTim He <tim.he@intel.com>2015-10-27 07:44:24 +0000
committertimhe <timhe@Edk2>2015-10-27 07:44:24 +0000
commit8b7a63e7e23f19b5947f8d6eedd22872d352dc54 (patch)
tree5268944a7c273aa543d24cad27077c1d0a4a913e /Vlv2TbltDevicePkg/PlatformPei
parentb6f61255260a2e7c06ade9e3d4edb1e8e178f71f (diff)
downloadedk2-platforms-8b7a63e7e23f19b5947f8d6eedd22872d352dc54.tar.xz
Vlv2TbltDevicePkg: Sync the branch changes to trunk.
update some smbios string and macro name for MinnowBoard Turbot board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tim He <tim.he@intel.com> Reviewed-by: David Wei <david.wei@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18682 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Vlv2TbltDevicePkg/PlatformPei')
-rw-r--r--Vlv2TbltDevicePkg/PlatformPei/Platform.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Vlv2TbltDevicePkg/PlatformPei/Platform.c b/Vlv2TbltDevicePkg/PlatformPei/Platform.c
index ec5e4b3458..b0ab3e1c98 100644
--- a/Vlv2TbltDevicePkg/PlatformPei/Platform.c
+++ b/Vlv2TbltDevicePkg/PlatformPei/Platform.c
@@ -194,13 +194,13 @@ PeiSmbusExec (
/**
- Detemine compatible board
- @return 0: Not compatible board
- 1: Compatible board
+ Detemine Turbot board
+ @return 0: Not Turbot board
+ 1: Turbot board
**/
UINT32
-DetermineCompatibleBoard (
+DetermineTurbotBoard (
void
)
{
@@ -214,7 +214,7 @@ DetermineCompatibleBoard (
UINT32 SSUSOffset = 0x2000;
UINT32 IoBase = 0;
- DEBUG ((EFI_D_ERROR, "DetermineCompatibleBoard() Entry\n"));
+ DEBUG ((EFI_D_ERROR, "DetermineTurbotBoard() Entry\n"));
PciD31F0RegBase = MmPciAddress (0,
0,
PCI_DEVICE_NUMBER_PCH_LPC,
@@ -934,10 +934,10 @@ ReadPlatformIds (
return Status;
}
- CompatibleBoard = DetermineCompatibleBoard();
+ CompatibleBoard = DetermineTurbotBoard();
if (1 == CompatibleBoard) {
- PlatformInfoHob->BoardId = BOARD_ID_MINNOW2_COMPATIBLE;
- DEBUG ((EFI_D_INFO, "I'm MinnowBoard Compatible!\n"));
+ PlatformInfoHob->BoardId = BOARD_ID_MINNOW2_TURBOT;
+ DEBUG ((EFI_D_INFO, "I'm MinnowBoard Turbot!\n"));
} else {
PlatformInfoHob->BoardId = BOARD_ID_MINNOW2;
DEBUG ((EFI_D_INFO, "I'm MinnowBoard Max!\n"));