summaryrefslogtreecommitdiff
path: root/src/drivers/ipmi/chip.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-24 21:35:23 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-28 19:49:41 +0000
commit0f6e652f397672efcb920cf97a77f488bd82ad97 (patch)
tree068be8c31e1a04f939ea1a10ac505c7d2c5a1c04 /src/drivers/ipmi/chip.h
parent00296ea96f469c0ed35b813a9810272b7530df58 (diff)
drivers/ipmi: Add uid parameter to struct drivers_ipmi_config
This change adds uid parameter to drivers_ipmi_config that can be used by ipmi_ssdt() to store the uid value to be used by ipmi_write_acpi_tables. This allows to remove the requirement in ipmi_ssdt() to update dev->command. This is being done in preparation to make the struct device * parameter to fill_ssdt as const. Change-Id: Ieb41771c75aae902191bba5d220796e6c343f8e0 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40705 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/ipmi/chip.h')
-rw-r--r--src/drivers/ipmi/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ipmi/chip.h b/src/drivers/ipmi/chip.h
index 4e9641b7e5..ede9af693e 100644
--- a/src/drivers/ipmi/chip.h
+++ b/src/drivers/ipmi/chip.h
@@ -23,6 +23,7 @@ struct drivers_ipmi_config {
* Will be used if wait_for_bmc is true.
*/
u16 bmc_boot_timeout;
+ unsigned int uid; /* Auto-filled by ipmi_ssdt() */
};
#endif /* _IMPI_CHIP_H_ */