]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tegra: usb: set USB_PORTS_MAX to correct value
authorLucas Stach <dev@lynxeye.de>
Thu, 7 Feb 2013 07:16:24 +0000 (07:16 +0000)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:40 +0000 (11:06 -0700)
Both Tegra20 and Tegra30 have a max of 3 USB controllers.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra20/usb.c

index 1bccf2b0b2c5bd82b22989f8c22f9bf96ec27757..f151fb2c3b4cd9b7a5d59efbc475013057c9dc78 100644 (file)
@@ -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 */