diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-04-27 19:18:03 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-07 09:01:42 -0400 |
commit | 56e403d95fc00304e87565712f34e0f2107a33c4 (patch) | |
tree | fea2903a59f8f2d1c255dc7c897317ddddec1ccf /include | |
parent | be0d09695d2bd689a3804eab82658d77eb495681 (diff) | |
download | u-boot-56e403d95fc00304e87565712f34e0f2107a33c4.zip u-boot-56e403d95fc00304e87565712f34e0f2107a33c4.tar.gz u-boot-56e403d95fc00304e87565712f34e0f2107a33c4.tar.bz2 |
arm: juno: enable USB
The Juno board features a standard compliant EHCI/OHCI USB host
controller pair, which we can just enable.
The platform data is taken from the device tree.
This allows to use USB mass storage (the only storage on a Juno r0)
for loading.
At least on my board USB seems a bit flaky, I need two "usb reset"
sequences after the "usb start" to detect an USB hard drive.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/vexpress_aemv8a.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h index 3c85c93..08ad368 100644 --- a/include/configs/vexpress_aemv8a.h +++ b/include/configs/vexpress_aemv8a.h @@ -219,6 +219,11 @@ #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_32BIT #define CONFIG_SYS_MAX_FLASH_BANKS 1 +#ifdef CONFIG_USB_EHCI_HCD +#define CONFIG_USB_OHCI_NEW +#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1 +#endif + #define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo indicates empty blocks */ #define FLASH_MAX_SECTOR_SIZE 0x00040000 |