summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorJingleHsuWiwynn <jingle_hsu@wiwynn.com>2021-01-26 09:55:34 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-04-22 12:42:46 +0000
commit20fa59fc2ce05da9a62f559c8958524ee59c0a14 (patch)
treef8e313b109dc414dafa524a520a242a1f7bde6f8 /src/include
parentefa5a463505f09d88e39f8fe847f1da4abb8ac10 (diff)
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>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/smbios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 694e091387..e5e5df5fe3 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -20,7 +20,7 @@ int smbios_write_type9(unsigned long *current, int *handle,
const enum slot_data_bus_bandwidth bandwidth,
const enum misc_slot_usage usage,
const enum misc_slot_length length,
- u8 slot_char1, u8 slot_char2, u8 bus, u8 dev_func);
+ const u16 id, u8 slot_char1, u8 slot_char2, u8 bus, u8 dev_func);
enum smbios_bmc_interface_type;
int smbios_write_type38(unsigned long *current, int *handle,
const enum smbios_bmc_interface_type interface_type,