Currently only one USB port on mx5 boards can be enabled and that USB port is defined by CONFIG_MXC_USB_PORT. Removing the use of CONFIG_MXC_USB_PORT and instead supporting CONFIG_USB_MAX_CONTROLLER_COUNT to populate that number of USB ports starting with port 0 allows multiple USB ports to be used.
Examples: If port 0 and port 1 are populated, the value of CONFIG_USB_MAX_CONTROLLER_COUNT should be set to 2 and both port 0 and port 1 are initialized. If only port 1 is populated, the value of CONFIG_USB_MAX_CONTROLLER_COUNT should be set to 2 and port 0 and port 1 are initialized, but port 0 is not used. If only port 0 is populated, the value of CONFIG_USB_MAX_CONTROLLER_COUNT should be set to 1 and port 0 is the only USB port initialized. Matthew Starr (1): usb: imx: Allow multiple USB ports to be used at the same time on mx5 drivers/usb/host/ehci-mx5.c | 8 ++++---- include/configs/m53evk.h | 2 +- include/configs/mx51_efikamx.h | 1 + include/configs/mx51evk.h | 2 +- include/configs/mx53loco.h | 2 +- include/configs/usbarmory.h | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-) -- 2.1.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot