summaryrefslogtreecommitdiff
path: root/android/configs
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2015-07-13 17:54:56 +0530
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:54:36 -0800
commit6585a782c0acb6cc36da697fa7eebb48efbcecef (patch)
tree943b0621b18b3b2b1456f3a9431625fc4cbd637d /android/configs
parent1d1c140baaaf6f656de26cb3b5dfe4111cf390ea (diff)
android: configs: base: enable configfs gadget functions
Now that Android is moving towards ConfigFS based USB gadgets, lets enable USB_CONFIGFS and relevant Android gadget functions instead of obsolete USB_G_ANDROID composite driver which doesn't exist now. Enabled following ConfigFS gadget functions: F_FS for ADB F_MTP/PTP for MTP/PTP F_ACC for Android USB Accessory F_AUDIO_SRC for USB Audio Source F_MIDI for MIDI, and CONFIGFS_UEVENT for communicating USB state change notifications to userspace. Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'android/configs')
-rw-r--r--android/configs/android-base.cfg9
1 files changed, 8 insertions, 1 deletions
diff --git a/android/configs/android-base.cfg b/android/configs/android-base.cfg
index ad32ede883b9..c4ccd726e042 100644
--- a/android/configs/android-base.cfg
+++ b/android/configs/android-base.cfg
@@ -149,6 +149,13 @@ CONFIG_SYSVIPC=y
CONFIG_TUN=y
CONFIG_UNIX=y
CONFIG_USB_GADGET=y
-CONFIG_USB_G_ANDROID=y
+CONFIG_USB_CONFIGFS=y
+CONFIG_USB_CONFIGFS_F_FS=y
+CONFIG_USB_CONFIGFS_F_MTP=y
+CONFIG_USB_CONFIGFS_F_PTP=y
+CONFIG_USB_CONFIGFS_F_ACC=y
+CONFIG_USB_CONFIGFS_F_AUDIO_SRC=y
+CONFIG_USB_CONFIGFS_UEVENT=y
+CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_OTG_WAKELOCK=y
CONFIG_XFRM_USER=y