[coreboot-gerrit] Change in coreboot[master]: device/root_device: Scan bridges on LPC bus too

Nico Huber (Code Review) gerrit at coreboot.org
Mon Nov 5 18:35:51 CET 2018


Nico Huber has uploaded this change for review. ( https://review.coreboot.org/29474


Change subject: device/root_device: Scan bridges on LPC bus too
......................................................................

device/root_device: Scan bridges on LPC bus too

Change-Id: I0eb005e41b9168fffc344ee8e666d43b605a30ba
Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
M src/device/root_device.c
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/29474/1

diff --git a/src/device/root_device.c b/src/device/root_device.c
index e006bf9..9891401 100644
--- a/src/device/root_device.c
+++ b/src/device/root_device.c
@@ -65,10 +65,15 @@
 
 void scan_lpc_bus(struct device *bus)
 {
+	struct bus *link;
+
 	printk(BIOS_SPEW, "%s for %s\n", __func__, dev_path(bus));
 
 	scan_static_bus(bus);
 
+	for (link = bus->link_list; link; link = link->next)
+		scan_bridges(link);
+
 	printk(BIOS_SPEW, "%s for %s done\n", __func__, dev_path(bus));
 }
 

-- 
To view, visit https://review.coreboot.org/29474
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0eb005e41b9168fffc344ee8e666d43b605a30ba
Gerrit-Change-Number: 29474
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181105/c380857c/attachment-0001.html>


More information about the coreboot-gerrit mailing list