sunxi: Add INITIAL_USB_SCAN_DELAY Kconfig option
authorHans de Goede <hdegoede@redhat.com>
Fri, 1 Apr 2016 20:39:26 +0000 (22:39 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 12 Apr 2016 06:58:03 +0000 (08:58 +0200)
commit2c3c3ecb596c3b15b5269c56c5e20f39c2c59102
tree918e716a2029e850a0a38999146fc35a86b0cdb6
parentbbf8bef196ae52517284a0a2e2ffc94a4ff89f5f
sunxi: Add INITIAL_USB_SCAN_DELAY Kconfig option

Some boards have on board usb devices which need longer than the USB
spec's 1 second to connect from board powerup. Add a config option which
when non 0 adds an extra delay before the first usb bus scan.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/mach-sunxi/usb_phy.c
board/sunxi/Kconfig