aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-raspberrypi/recipes-kernel
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-06-26 12:37:11 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-28 19:40:29 +0000
commitdb2fae4724880a43e5942bf770bc8e6e200012b4 (patch)
tree9a25b8dbb4fbe51d1bfb0f53809c687f00663f85 /meta-agl-bsp/meta-raspberrypi/recipes-kernel
parent3283601f4d9bb9e5ed5b0bf3e7190c33c168e0bf (diff)
Add CAN drivers by default to AGL boards
v2 (jsmoeller): Add append files for boards that need special handling. Change-Id: I172b71be6e825aa6399f22899e9b6eaacc86e72b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9791 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-kernel')
-rw-r--r--meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend45
1 files changed, 39 insertions, 6 deletions
diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
index 1db6d4221..841798265 100644
--- a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
+++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend
@@ -31,6 +31,39 @@ do_configure_append_sota() {
kernel_configure_variable BLK_DEV_RAM y
}
+# can
+do_configure_append() {
+
+ kernel_configure_variable TASKSTATS y
+ kernel_configure_variable TASK_DELAY_ACCT y
+ kernel_configure_variable USER_RETURN_NOTIFIER y
+ kernel_configure_variable PREEMPT_NOTIFIERS y
+ kernel_configure_variable CAN m
+ kernel_configure_variable CAN_RAW m
+ kernel_configure_variable CAN_BCM m
+ kernel_configure_variable CAN_GW m
+ kernel_configure_variable CAN_VCAN m
+ kernel_configure_variable CAN_SLCAN m
+ kernel_configure_variable CAN_DEV m
+ kernel_configure_variable CAN_CALC_BITTIMING y
+ kernel_configure_variable CAN_MCP251X m
+ kernel_configure_variable CAN_ESD_USB2 m
+ kernel_configure_variable CAN_GS_USB m
+ kernel_configure_variable CAN_KVASER_USB m
+ kernel_configure_variable CAN_PEAK_USB m
+ kernel_configure_variable CAN_8DEV_USB m
+
+# not enabled, yet ?
+# kernel_configure_variable CAN_LEDS is not set
+# kernel_configure_variable CAN_SJA1000 is not set
+# kernel_configure_variable CAN_C_CAN is not set
+# kernel_configure_variable CAN_M_CAN is not set
+# kernel_configure_variable CAN_CC770 is not set
+# kernel_configure_variable CAN_EMS_USB is not set
+# kernel_configure_variable CAN_SOFTING is not set
+# kernel_configure_variable CAN_DEBUG_DEVICES is not set
+}
+
do_configure_append() {
# VC4 Wayland/Weston
@@ -41,14 +74,14 @@ do_configure_append() {
kernel_configure_variable FB_BCM2708 n
# Enable support for TP-Link TL-W722N USB Wifi adapter
- kernel_configure_variable CONFIG_ATH_CARDS m
- kernel_configure_variable CONFIG_ATH9K_HTC m
+ kernel_configure_variable ATH_CARDS m
+ kernel_configure_variable ATH9K_HTC m
# Enable support for RTLSDR
- kernel_configure_variable CONFIG_MEDIA_USB_SUPPORT y
- kernel_configure_variable CONFIG_MEDIA_DIGITAL_TV_SUPPORT y
- kernel_configure_variable CONFIG_DVB_USB_V2 m
- kernel_configure_variable CONFIG_DVB_USB_RTL28XXU m
+ kernel_configure_variable MEDIA_USB_SUPPORT y
+ kernel_configure_variable MEDIA_DIGITAL_TV_SUPPORT y
+ kernel_configure_variable DVB_USB_V2 m
+ kernel_configure_variable DVB_USB_RTL28XXU m
# KEEP until fixed upstream:
# Keep this the last line