diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2012-01-31 14:42:47 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-02-07 18:30:35 +0100 |
commit | 2fd524297e5f8cfa1c44c2e96067bc6680f03882 (patch) | |
tree | 1bf1ca34f031b95348e34d2cb8dba6b3cea5801c /payloads | |
parent | 8660a1aa56caeb31bfaf15464285ca650638515e (diff) |
libpayload: Force checking all EHCI ports on power-on
EHCI port status reporting isn't very consistent on power-on,
so just looking for devices on all ports is the safest way to
find everything.
Change-Id: I26b4305016f0bed1d2c1b5cffc59d5813fa1cbbb
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/594
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/drivers/usb/ehci_rh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/usb/ehci_rh.c b/payloads/libpayload/drivers/usb/ehci_rh.c index d9ba8e4eaf..1d41f3f574 100644 --- a/payloads/libpayload/drivers/usb/ehci_rh.c +++ b/payloads/libpayload/drivers/usb/ehci_rh.c @@ -147,6 +147,7 @@ ehci_rh_init (usbdev_t *dev) p = &(RH_INST(dev)->ports[i]); RH_INST(dev)->devices[i] = -1; *p |= P_PP; + ehci_rh_scanport(dev, i); } dev->address = 0; |