summaryrefslogtreecommitdiffstats
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-07-27 19:22:26 +0300
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-08-03 00:34:49 +0200
commit15cf0adc3edaf184d98a3b3c228e0858ff7b24d3 (patch)
tree559ab5271c214f89992fbb14c3ec3d38523803c9 /src/include/device/device.h
parenta1e6a9c25a1d897fbb06f634bbee6e7983a95524 (diff)
downloadcoreboot-15cf0adc3edaf184d98a3b3c228e0858ff7b24d3.tar.gz
coreboot-15cf0adc3edaf184d98a3b3c228e0858ff7b24d3.tar.bz2
coreboot-15cf0adc3edaf184d98a3b3c228e0858ff7b24d3.zip
Fix mainboard level enable_dev()
Commit 188e3c2ff06a82f61d7d71e610b32b1a250c0a45 dropped mainboard out of the static device tree. This left dev_root->chip_ops unset, and mainboard_ops.enable_dev() was no longer called. Change-Id: I6d447c8049a66041b8bb36ec9aac3e7e0d20a99b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1374 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 9e9d00025c3a..0b15ac5aed98 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -165,6 +165,7 @@ void show_all_devs_resources(int debug_level, const char* msg);
#define DEVICE_MEM_ALIGN 4096
extern struct device_operations default_dev_ops_root;
+extern struct chip_operations mainboard_ops;
void pci_domain_read_resources(struct device *dev);
unsigned int pci_domain_scan_bus(struct device *dev, unsigned int max);
unsigned int scan_static_bus(device_t bus, unsigned int max);