]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: set CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS
authorStephen Warren <swarren@nvidia.com>
Mon, 10 Feb 2014 20:11:53 +0000 (13:11 -0700)
committerTom Warren <twarren@nvidia.com>
Wed, 5 Mar 2014 23:59:08 +0000 (16:59 -0700)
Tegra's EHCI controllers only have a single PORTSC register. Configure
U-Boot to know this. This prevents e.g. ehci_shutdown() from touching
non-existent registers.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra114-common.h
include/configs/tegra124-common.h
include/configs/tegra20-common.h
include/configs/tegra30-common.h

index 1bf5af5b3830cc29cdf1c558b7b1634629932974..17546d42bd7b7b981ee009fd152291da2f779891 100644 (file)
@@ -78,5 +78,6 @@
 /* For USB EHCI controller */
 #define CONFIG_EHCI_IS_TDI
 #define CONFIG_USB_EHCI_TXFIFO_THRESH  0x10
+#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1
 
 #endif /* _TEGRA114_COMMON_H_ */
index 4568bc761ecdbd0ec4482e5ba711aa668cf721af..61e50265740dfd2d6d8f662c787865d531353121 100644 (file)
@@ -74,5 +74,6 @@
 /* For USB EHCI controller */
 #define CONFIG_EHCI_IS_TDI
 #define CONFIG_USB_EHCI_TXFIFO_THRESH  0x10
+#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1
 
 #endif /* _TEGRA124_COMMON_H_ */
index d2c45321b46a3a2ef648c4d2fc2d8dc1274d58d1..5501c6ef0c3fb78d5161f24db309cdffac6dc52b 100644 (file)
@@ -91,6 +91,7 @@
  */
 #define CONFIG_USB_EHCI_TXFIFO_THRESH  10
 #define CONFIG_EHCI_IS_TDI
+#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1
 
 /* Total I2C ports on Tegra20 */
 #define TEGRA_I2C_NUM_CONTROLLERS      4
index edb930e032bcc40dd8b80f2d65a6721a1a2e3c8e..0835bc8d85ae33178ca61cd71740102352d315b9 100644 (file)
@@ -75,5 +75,6 @@
 /* For USB EHCI controller */
 #define CONFIG_EHCI_IS_TDI
 #define CONFIG_USB_EHCI_TXFIFO_THRESH  0x10
+#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1
 
 #endif /* _TEGRA30_COMMON_H_ */