arch/x86/smbios: Add Number Of Power Cords field to be overriden
commit4330b961c472e359475bd17d56088c16e4a175b8
authorJingleHsuWiwynn <jingle_hsu@wiwynn.com>
Thu, 28 Jan 2021 01:13:42 +0000 (28 09:13 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 1 Feb 2021 08:50:48 +0000 (1 08:50 +0000)
tree5b5ba2b04f53331d5fcab991189c8ebc7e8142fe
parentf578b6f8f4374597cea5ce887c80216b5f7eccb9
arch/x86/smbios: Add Number Of Power Cords field to be overriden

For SMBIOS type 3, add function to override number of power cords

Tested=Exectute dmidecode -t 3 to verify.

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