coreboot/src/arch
Iru Cai 3677520fd9 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)
2016-03-11 16:53:39 +01:00
..
arm Makefile: Add build-time overlap check for programs loaded after coreboot 2016-03-09 17:07:14 +01:00
arm64 Makefile: Add build-time overlap check for programs loaded after coreboot 2016-03-09 17:07:14 +01:00
mips Makefile: Add build-time overlap check for programs loaded after coreboot 2016-03-09 17:07:14 +01:00
power8 die() when attempting to use bounce buffer on non-i386. 2016-02-22 18:38:48 +01:00
riscv Makefile: Add build-time overlap check for programs loaded after coreboot 2016-03-09 17:07:14 +01:00
x86 arch/x86/smbios: fix length calculation for SMBIOS type 17 2016-03-11 16:53:39 +01:00