aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2016-02-05 12:17:56 +0000
committerRyan Harkin <ryan.harkin@linaro.org>2016-05-11 17:58:40 +0100
commiteaf04c39c58f4e3a3bb48370aa42fe908b663f8d (patch)
treeb5eaa8eae5a44d1472f26851488a1dcb626ad619
parent7dbf440fd9e5c2d8990ebe07ac81c4318f55e7f6 (diff)
REVIEW: ArmPlatformPkg/ArmJunoPkg: Create SMBIOS/DMI data for Junoarmlt-20160518-002armlt-20160518-001armlt-20160512-002armlt-20160512-001armlt-16.0516.05
This patch was extracted from the patch Jeremy posted upstream in Nov 2015. Since then, I've posted patches to migrate Juno to OpenPlatformPkg, so I've copied portion of the patch here. SMBIOS data is consumed by a wide range of enterprise applications. Fill in the basic requirements of the SMBIOS specification by hardcoding the minimum required structures and data using Juno information. With this change both the EFI shell and linux dmidecode commands return useful information. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r--Platforms/ARM/Juno/ArmJuno.dsc12
-rw-r--r--Platforms/ARM/Juno/ArmJuno.fdf6
2 files changed, 18 insertions, 0 deletions
diff --git a/Platforms/ARM/Juno/ArmJuno.dsc b/Platforms/ARM/Juno/ArmJuno.dsc
index 09396c0..e3a675e 100644
--- a/Platforms/ARM/Juno/ArmJuno.dsc
+++ b/Platforms/ARM/Juno/ArmJuno.dsc
@@ -170,6 +170,12 @@
gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|50000000
gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|1000
+ #
+ # SMBIOS entry point version
+ #
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0
+
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
@@ -302,6 +308,12 @@
}
#
+ # SMBIOS/DMI
+ #
+ MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
+ ArmPlatformPkg/ArmJunoPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
+
+ #
# Bds
#
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
diff --git a/Platforms/ARM/Juno/ArmJuno.fdf b/Platforms/ARM/Juno/ArmJuno.fdf
index a051510..db2cfa9 100644
--- a/Platforms/ARM/Juno/ArmJuno.fdf
+++ b/Platforms/ARM/Juno/ArmJuno.fdf
@@ -201,6 +201,12 @@ FvNameGuid = B73FE497-B92E-416e-8326-45AD0D270092
INF SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
#
+ # SMBIOS/DMI
+ #
+ INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
+ INF ArmPlatformPkg/ArmJunoPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
+
+ #
# Bds
#
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf