summaryrefslogtreecommitdiff
path: root/configs/cardhu_defconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 12:22:30 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:25 -0600
commit0566e2403d0b6ba8e2f6df0559ad05e81fc20e35 (patch)
tree95443b511cb4733f9361ba7e090c32957d9ae923 /configs/cardhu_defconfig
parent46b01797f48927bcb8f1bd138abe0da8119bdab4 (diff)
downloadu-boot-imx-0566e2403d0b6ba8e2f6df0559ad05e81fc20e35.zip
u-boot-imx-0566e2403d0b6ba8e2f6df0559ad05e81fc20e35.tar.gz
u-boot-imx-0566e2403d0b6ba8e2f6df0559ad05e81fc20e35.tar.bz2
dm: usb: Allow USB drivers to be declared and auto-probed
USB devices in U-Boot are currently probed only after all devices have been enumerated. Each type of device is probed by custom code, e.g.: - USB storage - Keyboard - Ethernet With driver model this approach doesn't work very well. We could build a picture of the bus and then go back and add the devices later, but this means that the data structures are incomplete for quite a while. It also does not follow the model of being able to bind a device when we discover it. We would prefer to have devices automatically be bound as the device is enumerated. This allows us to attach drivers to particular USB classes or product/vendor IDs. This is the method used by Linux. Add the required #defines from Linux, a way of declaring a USB driver and the logic to locate the correct driver given the USB device's descriptors. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'configs/cardhu_defconfig')
0 files changed, 0 insertions, 0 deletions