]> git.sur5r.net Git - u-boot/commitdiff
config: rk3399: add usb related configs
authorMengDongyang <daniel.meng@rock-chips.com>
Wed, 24 Aug 2016 04:02:19 +0000 (12:02 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 22 Sep 2016 13:40:56 +0000 (07:40 -0600)
This patch to enable configs for usb module
- xhci
- ehci
- usb storage
- usb net

Signed-off-by: MengDongyang <daniel.meng@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Squashed in patch to move to Kconfig:
  https://patchwork.ozlabs.org/patch/672543/
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
configs/evb-rk3399_defconfig
include/configs/rk3399_common.h

index 6135013a3b24b4ff90763d87819444ce6d974b35..1f6855c4dec42eb2322befd1e937c1f2c2b3219f 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_CMD_USB=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CLK=y
@@ -31,3 +32,9 @@ CONFIG_SYS_NS16550=y
 CONFIG_SYSRESET=y
 CONFIG_USE_TINY_PRINTF=y
 CONFIG_ERRNO_STR=y
+CONFIG_USB=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_DWC3=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_GENERIC=y
index e9626a5e398b050ddc0b05ce1e3d86ddc82c501d..b026122f52a194193cccc15f2192062f76ab3f56 100644 (file)
 
 #endif
 
+/* enable usb config for usb ether */
+#define CONFIG_USB_HOST_ETHER
+
+#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_ASIX88179
+#define CONFIG_USB_ETHER_MCS7830
+#define CONFIG_USB_ETHER_SMSC95XX
+#define CONFIG_USB_ETHER_RTL8152
+
+/* rockchip xhci host driver */
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS     2
+
 #endif