diff options
author | JingleHsuWiwynn <jingle_hsu@wiwynn.com> | 2021-01-28 09:13:42 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-01 08:50:48 +0000 |
commit | 4330b961c472e359475bd17d56088c16e4a175b8 (patch) | |
tree | 5b5ba2b04f53331d5fcab991189c8ebc7e8142fe /src/include/smbios.h | |
parent | f578b6f8f4374597cea5ce887c80216b5f7eccb9 (diff) | |
download | coreboot-4330b961c472e359475bd17d56088c16e4a175b8.tar.gz |
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>
Diffstat (limited to 'src/include/smbios.h')
-rw-r--r-- | src/include/smbios.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h index 2f63aac6ab..5cbd3c3e97 100644 --- a/src/include/smbios.h +++ b/src/include/smbios.h @@ -54,6 +54,7 @@ const char *smbios_mainboard_location_in_chassis(void); const char *smbios_chassis_version(void); const char *smbios_chassis_serial_number(void); const char *smbios_processor_serial_number(void); +u8 smbios_chassis_power_cords(void); /* This string could be filled late in payload. */ void smbios_type0_bios_version(uintptr_t address); |