]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
arm64: config: enable more USB gadget drivers
authorStephen Warren <swarren@nvidia.com>
Wed, 19 Apr 2017 16:47:13 +0000 (10:47 -0600)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 19 May 2017 01:44:20 +0000 (18:44 -0700)
This enables all options required to implement the USB protocols that L4T
wishes to expose over the USB flashing port in device mode.

- ACM for serial port access.
- RNDIS for Ethernet access from Windows (or Linux).
- ECM for Ethernet access from MacOS (or Linux).
- Bridge support to bridge the two Ethernet interfaces to a single IP
  address so users don't require different IPs depending on the protocol
  their OS uses. This also simplifies documentation.
- Loop block device support so that the L4T system can also mount the
  filesystem image that is exported over USB Mass Storage.

boot.img size increased by 140384 (T210), 120552 (T186).
(Note: boot.img taken as L4T's Image file, since these are L4T defconfigs)

Bug 1882292

Change-Id: I77cc313dcad505d5d8056c76a55a08a800c676f7
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-on: http://git-master/r/1469845
(cherry picked from commit 0a36077dea7cdedace721b33c38ba9b0c9b69e09 in dev-kernel)
Reviewed-on: http://git-master/r/1484123
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
arch/arm64/configs/tegra18_defconfig
arch/arm64/configs/tegra21_defconfig

index a06bbee0db2537e61ccfed6458ee7964ca89bb81..ce9396b73c0abf49573be9f5bcb124bc215a7090 100644 (file)
@@ -169,6 +169,7 @@ CONFIG_IP6_NF_FILTER=m
 CONFIG_IP6_NF_TARGET_REJECT=m
 CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
+CONFIG_BRIDGE=y
 CONFIG_VLAN_8021Q=y
 CONFIG_NET_SCHED=y
 CONFIG_NET_SCH_HTB=y
@@ -460,6 +461,7 @@ CONFIG_USB_TEGRA_CD=y
 CONFIG_USB_CONFIGFS=y
 CONFIG_USB_CONFIGFS_ACM=y
 CONFIG_USB_CONFIGFS_NCM=y
+CONFIG_USB_CONFIGFS_ECM=y
 CONFIG_USB_CONFIGFS_RNDIS=y
 CONFIG_USB_CONFIGFS_MASS_STORAGE=y
 CONFIG_USB_CONFIGFS_F_FS=y
index e504dc9a8b96058c55d99e91ed8bcf624b1a82da..82558a000b647d1b0b356b6b2dc5ab8f6d6d91a5 100644 (file)
@@ -145,6 +145,7 @@ CONFIG_IP6_NF_FILTER=y
 CONFIG_IP6_NF_TARGET_REJECT=y
 CONFIG_IP6_NF_MANGLE=y
 CONFIG_IP6_NF_RAW=y
+CONFIG_BRIDGE=y
 CONFIG_NET_SCHED=y
 CONFIG_NET_SCH_HTB=y
 CONFIG_NET_SCH_INGRESS=y
@@ -412,6 +413,9 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_VBUS_DRAW=500
 CONFIG_USB_TEGRA_XUDC=y
 CONFIG_USB_CONFIGFS=y
+CONFIG_USB_CONFIGFS_ACM=y
+CONFIG_USB_CONFIGFS_ECM=y
+CONFIG_USB_CONFIGFS_RNDIS=y
 CONFIG_USB_CONFIGFS_MASS_STORAGE=y
 CONFIG_USB_CONFIGFS_F_LB_SS=y
 CONFIG_USB_CONFIGFS_F_FS=y