aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-06-06 16:19:48 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-06-08 14:23:12 (GMT)
commite51435ced2b33afa555ed970914980d1c620f46c (patch)
tree5d8d2f538b5fdde9a0e074f6f335dee18ab65dcc
parent8e32aafdb74d62193f2dea0f61b83c51ca078033 (diff)
downloadkernel_replicant_linux-e51435ced2b33afa555ed970914980d1c620f46c.zip
kernel_replicant_linux-e51435ced2b33afa555ed970914980d1c620f46c.tar.gz
kernel_replicant_linux-e51435ced2b33afa555ed970914980d1c620f46c.tar.bz2
HACK: Make the kernel setup the USB gadget configuration
This makes sure that the USB configuration is done correctly by making the kenrel do it. This enables to get an adb shell with minimal userspace support. This hack should be replaced by proper userspace setup. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--arch/arm/configs/replicant_i9300_defconfig1
-rw-r--r--arch/arm/configs/replicant_i9305_defconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/configs/replicant_i9300_defconfig b/arch/arm/configs/replicant_i9300_defconfig
index dc0493c..4ac1313 100644
--- a/arch/arm/configs/replicant_i9300_defconfig
+++ b/arch/arm/configs/replicant_i9300_defconfig
@@ -383,6 +383,7 @@ CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_CONFIGFS_F_UVC=y
CONFIG_USB_CONFIGFS_F_PRINTER=y
+CONFIG_USB_FUNCTIONFS=y
CONFIG_MMC=y
CONFIG_MMC_BLOCK_MINORS=16
CONFIG_MMC_SDHCI=y
diff --git a/arch/arm/configs/replicant_i9305_defconfig b/arch/arm/configs/replicant_i9305_defconfig
index 8f9c27d..ea922ca 100644
--- a/arch/arm/configs/replicant_i9305_defconfig
+++ b/arch/arm/configs/replicant_i9305_defconfig
@@ -383,6 +383,7 @@ CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_F_HID=y
CONFIG_USB_CONFIGFS_F_UVC=y
CONFIG_USB_CONFIGFS_F_PRINTER=y
+CONFIG_USB_FUNCTIONFS=y
CONFIG_MMC=y
CONFIG_MMC_BLOCK_MINORS=16
CONFIG_MMC_SDHCI=y