diff options
author | Iru Cai <mytbk920423@gmail.com> | 2016-03-09 23:22:58 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-03-11 16:53:39 +0100 |
commit | 3677520fd9162d7447308ff5580313cca9e64a19 (patch) | |
tree | 2d2e3fcd78d05f1fa5bcdc39d31bcf4a1e14a1de /src/arch/x86/crt0_romcc_epilogue.inc | |
parent | f2e0461d8970d4690297dc9e40ee4f6d91e5a0c6 (diff) |
arch/x86/smbios: fix length calculation for SMBIOS type 17
Different DIMM modules give different SMBIOS type 17 lengths, so we
can't use `meminfo->dimm_cnt*len' for entry struct size, otherwise
it'll give a wrong SMBIOS size when two or more different DIMMs are
installed on the machine.
Change-Id: I0e33853f6aa4b30da547eb433839a397d451a8cf
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Reviewed-on: https://review.coreboot.org/14008
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch/x86/crt0_romcc_epilogue.inc')
0 files changed, 0 insertions, 0 deletions