aboutsummaryrefslogtreecommitdiff
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-27 23:42:45 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-30 20:47:16 +0200
commit6abb33c7ba5f18ec3e3578cb1f804cbe60e49c49 (patch)
treee8f1d51157d3c402e6b5a3c78727ed353d52b26a /src/include/device/device.h
parent8603513540f2d0016546db7e03292d4d70424b00 (diff)
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 <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6788 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h3
1 files changed, 3 insertions, 0 deletions
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;