diff options
author | Kane Chen <kane.chen@intel.com> | 2014-07-27 12:54:44 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-27 09:55:21 +0100 |
commit | 33faac643d8cbd521668f163df0a83865435e8c9 (patch) | |
tree | 23675b242eeaa063d608573515ef2cd071c6ae89 /src/include/cbmem.h | |
parent | dc27ca9fcb64481b4557968ab3582e0db7831cf8 (diff) | |
download | coreboot-33faac643d8cbd521668f163df0a83865435e8c9.tar.xz |
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>
Diffstat (limited to 'src/include/cbmem.h')
-rw-r--r-- | src/include/cbmem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h index 2f86b85a1f..49eaf48414 100644 --- a/src/include/cbmem.h +++ b/src/include/cbmem.h @@ -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; |