diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2016-03-21 04:37:04 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-27 16:12:58 +0300 |
commit | 634890bb5280ceec22aa3fc5e967aed0a2d0b795 (patch) | |
tree | 333f929bfb6bd3b7ab0c1c317deca3019826f95b /include/configs/pxa-common.h | |
parent | fa89b539e3fa4499fc474b6fa705f36714e26cbf (diff) | |
download | u-boot-634890bb5280ceec22aa3fc5e967aed0a2d0b795.tar.xz |
pxa-common: pxa27x has 3 OHCI ports
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>
Diffstat (limited to 'include/configs/pxa-common.h')
-rw-r--r-- | include/configs/pxa-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/pxa-common.h b/include/configs/pxa-common.h index f0ecc34587..4c1c2c7e8d 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 |