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.inc20
1 files changed, 15 insertions, 5 deletions
diff --git a/recipes-kernel/linux/driver.inc b/recipes-kernel/linux/driver.inc
index 279156a..76ed3fa 100644
--- a/recipes-kernel/linux/driver.inc
+++ b/recipes-kernel/linux/driver.inc
@@ -1,11 +1,21 @@
# Hardware drivers to load on boot.
-
# Gadget serial is for MTCDT only
+
+DRIVER_LOAD_ALL_MACHINES = " \
+ atmel_usba_udc \
+ ledtrig-default-on \
+ ledtrig-heartbeat \
+"
+
KERNEL_MODULE_AUTOLOAD_mtcdt += " \
+ ${DRIVER_LOAD_ALL_MACHINES} \
g_serial \
"
-# Is this driver needed for mtcap?
-KERNEL_MODULE_AUTOLOAD += " \
- atmel_usba_udc \
-"
+
+# 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}"