summaryrefslogtreecommitdiffstats
path: root/src/include/device/device.h
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2019-03-14 16:02:05 +0100
committerNico Huber <nico.h@gmx.de>2019-10-08 12:59:56 +0000
commit51b75ae50aaa92f01c478ac086ef4a7dec352f7f (patch)
tree0aacb7055be64e950994831bedeb94bbbaec6ae6 /src/include/device/device.h
parenta89c82e40210f4b61445bffdfec13cc08ea57f1f (diff)
downloadcoreboot-51b75ae50aaa92f01c478ac086ef4a7dec352f7f.tar.gz
coreboot-51b75ae50aaa92f01c478ac086ef4a7dec352f7f.tar.bz2
coreboot-51b75ae50aaa92f01c478ac086ef4a7dec352f7f.zip
device: Use scan_static_bus() over scan_lpc_bus()
Devices behind LPC can expose more buses (e.g. I2C on a super-i/o). So we should scan buses on LPC devices, too. Change-Id: I0eb005e41b9168fffc344ee8e666d43b605a30ba Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/29474 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/device/device.h')
-rw-r--r--src/include/device/device.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index a7ba5a9a5b84..405d816e153f 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -330,7 +330,6 @@ static inline DEVTREE_CONST void *config_of_soc(void)
void enable_static_devices(struct device *bus);
void scan_smbus(struct device *bus);
void scan_generic_bus(struct device *bus);
-void scan_lpc_bus(struct device *bus);
void scan_static_bus(struct device *bus);
#endif /* !defined(__ROMCC__) */