The AMD CS5536's USB controllers are located at device 0F, functions 4
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>
Fri, 3 Sep 2010 14:54:50 +0000 (14:54 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Fri, 3 Sep 2010 14:54:50 +0000 (14:54 +0000)
commit4e1ac83bb61707210500a4bbf59c9aa6095e36b6
treef393e0fc5af87359293cc5a3dbd8be0fff8703cc
parent3cf287dab0d71cc7bfa864609016c47f3310a9e3
The AMD CS5536's USB controllers are located at device 0F, functions 4
and 5.  They're not found if only function 0 is checked.  So if a device
exists at all, try all its functions.  usb_controller_initialize() will
silently skip all device classes != 0C03.

(changed to continue to use 32bit accesses -pg)

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5774 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/drivers/usb/usbinit.c