From 6abb33c7ba5f18ec3e3578cb1f804cbe60e49c49 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Wed, 27 Aug 2014 23:42:45 +0200 Subject: smbios: reorganise OEM strings handling. OEM strings should not be handled by mobo code but by common code with strings collected from all devices. Change-Id: Ibde61a1ca79845670bc0df87dc6c67fa868d48a9 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/6788 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) --- src/include/device/device.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include/device/device.h') diff --git a/src/include/device/device.h b/src/include/device/device.h index ec17adfc54..19b5ea071e 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -39,6 +39,8 @@ struct chip_operations { struct bus; +struct smbios_type11; + struct device_operations { void (*read_resources)(device_t dev); void (*set_resources)(device_t dev); @@ -52,6 +54,7 @@ struct device_operations { void (*reset_bus)(struct bus *bus); #if CONFIG_GENERATE_SMBIOS_TABLES int (*get_smbios_data)(device_t dev, int *handle, unsigned long *current); + void (*get_smbios_strings)(device_t dev, struct smbios_type11 *t); #endif const struct pci_operations *ops_pci; const struct smbus_bus_operations *ops_smbus_bus; -- cgit v1.2.3