[U-Boot] [PATCH v2 1/7] tegra: usb: set USB_PORTS_MAX to correct value

Lucas Stach dev at lynxeye.de
Fri Jan 25 15:41:05 CET 2013


Both Tegra20 and Tegra30 have a max of 3 USB controllers.

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/cpu/armv7/tegra20/usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/tegra20/usb.c b/arch/arm/cpu/armv7/tegra20/usb.c
index 1bccf2b..f151fb2 100644
--- a/arch/arm/cpu/armv7/tegra20/usb.c
+++ b/arch/arm/cpu/armv7/tegra20/usb.c
@@ -44,7 +44,7 @@
 #endif
 
 enum {
-	USB_PORTS_MAX	= 4,			/* Maximum ports we allow */
+	USB_PORTS_MAX	= 3,		/* Maximum ports we allow */
 };
 
 /* Parameters we need for USB */
-- 
1.8.0.2



More information about the U-Boot mailing list