[U-Boot] [PATCH 05/11] pxa-common: pxa27x has 3 OHCI ports
Vasily Khoruzhick
anarsoul at gmail.com
Mon Mar 21 02:37:04 CET 2016
3rd port can be used as a device or host.
Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
---
include/configs/pxa-common.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/configs/pxa-common.h b/include/configs/pxa-common.h
index f0ecc34..4c1c2c7 100644
--- a/include/configs/pxa-common.h
+++ b/include/configs/pxa-common.h
@@ -37,7 +37,11 @@
#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
--
2.7.2
More information about the U-Boot
mailing list