]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pxa-common: pxa27x has 3 OHCI ports
authorVasily Khoruzhick <anarsoul@gmail.com>
Mon, 21 Mar 2016 01:37:04 +0000 (18:37 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 27 Mar 2016 13:12:58 +0000 (09:12 -0400)
3rd port can be used as a device or host.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
include/configs/pxa-common.h

index f0ecc3458700b5431a5778d5558e2e774114e847..4c1c2c7e8d3ba59e1f8d859724d39c2b9f8a2953 100644 (file)
 #define        CONFIG_USB_OHCI_NEW
 #define        CONFIG_SYS_USB_OHCI_CPU_INIT
 #define        CONFIG_SYS_USB_OHCI_BOARD_INIT
+#ifdef CONFIG_CPU_PXA27X
+#define        CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS      3
+#else
 #define        CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS      2
+#endif
 #define        CONFIG_SYS_USB_OHCI_REGS_BASE           0x4c000000
 #define        CONFIG_SYS_USB_OHCI_SLOT_NAME           "pxa-ohci"
 #define        CONFIG_USB_STORAGE