diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2016-02-05 12:17:56 +0000 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2016-04-05 14:47:21 +0100 |
commit | 538f1b518ba8b9ee441dc6913ce03d9947762a00 (patch) | |
tree | b6db5ef7448139e2c270068cb408a151954edf28 | |
parent | ff16816318d15c29e4c3d07b60ae4ac9d9866864 (diff) |
REVIEW: ArmPlatformPkg/ArmJunoPkg: Create SMBIOS/DMI data for Junoarmlt-16.0416.04
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.dsc | 12 | ||||
-rw-r--r-- | Platforms/ARM/Juno/ArmJuno.fdf | 6 |
2 files changed, 18 insertions, 0 deletions
diff --git a/Platforms/ARM/Juno/ArmJuno.dsc b/Platforms/ARM/Juno/ArmJuno.dsc index aef4c21..7f030a7 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
|