diff options
author | Tim Chu <Tim.Chu@quantatw.com> | 2021-01-22 01:10:45 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-28 09:14:32 +0000 |
commit | 1ee8ddc484bf87b99d4ba80f6d4fb99ee043780e (patch) | |
tree | ffd8d387c84b4ed603b30ecbee73c4e7e1db41fc /src/include | |
parent | 7435e254d401e2b3bc78756f65e3d0f1b2ce61e2 (diff) |
arch/x86/smbios: Update SMBIOS type 16 Extended Maximum Capacity
Update Extended Maximum Capacity field in SMBIOS type 16 so that
maximum dimm size can be over 2TB.
Tested=Execute "dmidecode -t 16" to check maximum capacity is over 2TB.
Signed-off-by: Tim Chu <Tim.Chu@quantatw.com>
Change-Id: I61901c815f9d0daae102e5077a116c0de87240ef
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49828
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/smbios.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h index d8ac4caff2..2f63aac6ab 100644 --- a/src/include/smbios.h +++ b/src/include/smbios.h @@ -829,6 +829,8 @@ enum { SMBIOS_EVENTLOG_STATUS_FULL = 2, /* Bit 1 */ }; +#define SMBIOS_USE_EXTENDED_MAX_CAPACITY (1 << 31) + struct smbios_type16 { u8 type; u8 length; |