smbios: add funtion for smbios type17
Add smbios type 17 which can optionally be implemented at the platform or mainboard level In order to create SMBIOS type17, you will need to fill memory_info data BUG=None BRANCH=None TEST=Compile successfully on rambi and samus Boot to chromeOS on samus and rambi Original-Change-Id: Ie4da89135c879d7a687305d423103fcfcbb96e3f Original-Signed-off-by: Kane Chen <kane.chen@intel.com> Original-Reviewed-on: https://chromium-review.googlesource.com/210005 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org> (cherry picked from commit 634b899ba41242caa800d7b570f3a339c738db77) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I61d1e8b1d32d43f0011b0f93966d57646ea0eb63 Reviewed-on: http://review.coreboot.org/8955 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
dc27ca9fcb
commit
33faac643d
@ -72,6 +72,7 @@
|
||||
#define CBMEM_ID_POWER_STATE 0x50535454
|
||||
#define CBMEM_ID_SMM_SAVE_SPACE 0x07e9acee
|
||||
#define CBMEM_ID_RAM_OOPS 0x05430095
|
||||
#define CBMEM_ID_MEMINFO 0x494D454D
|
||||
#define CBMEM_ID_NONE 0x00000000
|
||||
#define CBMEM_ID_AGESA_RUNTIME 0x41474553
|
||||
#define CBMEM_ID_HOB_POINTER 0x484f4221
|
||||
@ -115,7 +116,8 @@ struct cbmem_id_to_name {
|
||||
{ CBMEM_ID_SMM_SAVE_SPACE, "SMM BACKUP " }, \
|
||||
{ CBMEM_ID_REFCODE_CACHE, "REFCODE $ " }, \
|
||||
{ CBMEM_ID_POWER_STATE, "POWER STATE" }, \
|
||||
{ CBMEM_ID_RAM_OOPS, "RAMOOPS " },
|
||||
{ CBMEM_ID_RAM_OOPS, "RAMOOPS " }, \
|
||||
{ CBMEM_ID_MEMINFO, "MEM INFO " },
|
||||
|
||||
struct cbmem_entry;
|
||||
|
||||
|
Reference in New Issue
Block a user