arch/x86/smbios: Let SMBIOS type 9 be able to write slot ID
commit20fa59fc2ce05da9a62f559c8958524ee59c0a14
authorJingleHsuWiwynn <jingle_hsu@wiwynn.com>
Tue, 26 Jan 2021 01:55:34 +0000 (26 09:55 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 22 Apr 2021 12:42:46 +0000 (22 12:42 +0000)
treef8e313b109dc414dafa524a520a242a1f7bde6f8
parentefa5a463505f09d88e39f8fe847f1da4abb8ac10
arch/x86/smbios: Let SMBIOS type 9 be able to write slot ID

The slot ID can be passed in from the function caller but
parsing slot ID from devicetree is not yet supported and
would still be 0.

Add Slot ID in SMBIOS type 9 for Delta Lake.

Tested=Execute "dmidecode -t 9" to verify.

Signed-off-by: JingleHsuWiwynn <jingle_hsu@wiwynn.com>
Change-Id: I9bf2e3b1232637a25ee595d08f8fbbc2283fcd5d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49917
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/arch/x86/smbios.c
src/include/smbios.h
src/mainboard/ocp/deltalake/ramstage.c