summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/driver.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/driver.inc')
-rw-r--r--recipes-kernel/linux/driver.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-kernel/linux/driver.inc b/recipes-kernel/linux/driver.inc
new file mode 100644
index 0000000..5e21ed6
--- /dev/null
+++ b/recipes-kernel/linux/driver.inc
@@ -0,0 +1,22 @@
+# Hardware drivers to load on boot.
+# Gadget serial is for MTCDT only
+
+DRIVER_LOAD_ALL_MACHINES = " \
+ atmel_usba_udc \
+ ledtrig-default-on \
+ ledtrig-heartbeat \
+ ledtrig-timer \
+"
+
+KERNEL_MODULE_AUTOLOAD_mtcdt += " \
+ ${DRIVER_LOAD_ALL_MACHINES} \
+ g_serial \
+"
+
+
+# Is atmel_usba_udc needed for mtcap?
+KERNEL_MODULE_AUTOLOAD_mtcap += "${DRIVER_LOAD_ALL_MACHINES}"
+
+KERNEL_MODULE_AUTOLOAD_mtrv1 += "${DRIVER_LOAD_ALL_MACHINES}"
+
+KERNEL_MODULE_AUTOLOAD_mtr += "${DRIVER_LOAD_ALL_MACHINES}"