summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-11-04 03:23:29 +0100
committerStefan Agner <stefan.agner@toradex.com>2015-11-04 03:23:29 +0100
commit5b1919fe8c47349ab0774951dd27212bb8392eda (patch)
tree3606b0be0ea1b9ab35f245736b097ccbfa844572 /recipes-kernel/linux
parentaac51b8d2188065e3fea0c145c2f0b8a8030b55c (diff)
apalis/colibri_imx6: update/load USB Gadget ConfigFS automatically
Since we use USB Gadget ConfigFS now use libusbg to load the USB Gadget configuration automatically.
Diffstat (limited to 'recipes-kernel/linux')
-rw-r--r--recipes-kernel/linux/linux-toradex-fsl_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-fsl_git.bb b/recipes-kernel/linux/linux-toradex-fsl_git.bb
index 5dd1615..cccedd7 100644
--- a/recipes-kernel/linux/linux-toradex-fsl_git.bb
+++ b/recipes-kernel/linux/linux-toradex-fsl_git.bb
@@ -19,6 +19,9 @@ S = "${WORKDIR}/git"
SRCBRANCH_mx6 = "toradex_imx_3.14.28_1.0.0_ga"
SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH}"
+# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS)
+KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}"
+
COMPATIBLE_MACHINE = "(colibri-imx6|apalis-imx6)"
# Place changes to the defconfig here