]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: imx_v6_v7_defconfig: enable USB FFS gadget
authorGary Bisson <gary.bisson@boundarydevices.com>
Tue, 21 Jun 2016 08:05:57 +0000 (10:05 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 21 Jun 2016 13:47:53 +0000 (21:47 +0800)
The USB Function FS gadget can be very useful for debugging.

For instance, the adbd daemon can leverage this gadget to
offer an ADB connection to the platform over USB.

Note that adbd is available on many OS/build systems:
- Ubuntu: see android-tools-adbd package [1]
- Yocto: see meta-smartphone android-tools recipe [2]
- Buildroot: see android-tools package [3]

[1] http://packages.ubuntu.com/trusty/android-tools-adbd
[2] https://github.com/shr-distribution/meta-smartphone/tree/shr/meta-android/recipes-android/android-tools
[3] https://git.buildroot.net/buildroot/tree/package/android-tools

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/configs/imx_v6_v7_defconfig

index eaabae20e7e758e7997129955b50d2d6fad54411..89424a77e9ad087a26913264bcd98e50251288ed 100644 (file)
@@ -296,6 +296,7 @@ CONFIG_USB_ZERO=m
 CONFIG_USB_ETH=m
 CONFIG_USB_G_NCM=m
 CONFIG_USB_GADGETFS=m
+CONFIG_USB_FUNCTIONFS=m
 CONFIG_USB_MASS_STORAGE=m
 CONFIG_USB_G_SERIAL=m
 CONFIG_MMC=y