]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Tegra: Config: Enable Tegra30/Tegra114 USB function
authorJim Lin <jilin@nvidia.com>
Fri, 21 Jun 2013 11:05:48 +0000 (19:05 +0800)
committerTom Warren <twarren@nvidia.com>
Thu, 11 Jul 2013 21:15:16 +0000 (14:15 -0700)
Add USB EHCI, storage and network support.

Tested on Tegra30 Cardhu, and Tegra114 Dalmore
platforms. All works well.

Signed-off-by: Jim Lin <jilin@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/beaver.h
include/configs/cardhu.h
include/configs/dalmore.h
include/configs/tegra114-common.h
include/configs/tegra30-common.h

index 058da4fa13b60169baa5f3fca3d8707f667591fc..165de137531b87923b4abecf0f94ad8bfd9290b0 100644 (file)
 #define CONFIG_CMD_SF
 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
 
+/* USB Host support */
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_TEGRA
+#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_USB
+
+/* USB networking support */
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+
+/* General networking support */
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_DHCP
+
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 6a991752114ae70ecba7c5829dec2eebf35ae533..fd46083581a0d6e70b4ac7aa830733b1a79a6821 100644 (file)
 #define CONFIG_CMD_SF
 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
 
+/* USB Host support */
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_TEGRA
+#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_USB
+
+/* USB networking support */
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+
+/* General networking support */
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_DHCP
+
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 7b68f7ca987515d5473a56ebc3637927e348d33f..272384343930736f5c2e551ece2cb1ae71e4de82 100644 (file)
 #define CONFIG_CMD_SF
 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
 
+/* USB Host support */
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_TEGRA
+#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_USB
+
+/* USB networking support */
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+
+/* General networking support */
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_DHCP
+
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 721b29cd95c20b7f0b81ba632b9334d78abb7495..44e98e501952bb26284b531323aee68c9621e9c3 100644 (file)
@@ -77,4 +77,7 @@
 /* Total I2C ports on Tegra114 */
 #define TEGRA_I2C_NUM_CONTROLLERS      5
 
+/* For USB EHCI controller */
+#define CONFIG_EHCI_IS_TDI
+
 #endif /* _TEGRA114_COMMON_H_ */
index ed36e11da647057c89366c4201b265bf3611193b..7ea36be0ed514f5cbdb579f880ad954573eb49e9 100644 (file)
@@ -90,4 +90,7 @@
 /* Total I2C ports on Tegra30 */
 #define TEGRA_I2C_NUM_CONTROLLERS      5
 
+/* For USB EHCI controller */
+#define CONFIG_EHCI_IS_TDI
+
 #endif /* _TEGRA30_COMMON_H_ */