aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2015-07-13 17:54:56 +0530
committerAmit Pundir <amit.pundir@linaro.org>2015-10-26 12:42:59 +0530
commitfc973e3fd47d5398f80ae23bbe9852d08036d2ae (patch)
tree3f42fdeab8d90eaf7a0ff729e9ba4ac1334dc8ce
parent9201be0a16495114a32ffec0c7b7d76e2b5a55f5 (diff)
android: configs: base: enable USB_CONFIGFS
Now that Android is moving towards ConfigFS based USB gadgets, lets enable USB_CONFIGFS instead of obsolete USB_G_ANDROID composite driver which doesn't even build now. Also enable following Android 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 CONFIGFS_UEVENT for communicating USB state change notifications to userspace Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--android/configs/android-base.cfg8
1 files changed, 7 insertions, 1 deletions
diff --git a/android/configs/android-base.cfg b/android/configs/android-base.cfg
index ad32ede883b9..154bf1647b5e 100644
--- a/android/configs/android-base.cfg
+++ b/android/configs/android-base.cfg
@@ -149,6 +149,12 @@ 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_OTG_WAKELOCK=y
CONFIG_XFRM_USER=y