From da06a51ad4b3f7e411bb6efd73a80370757a9991 Mon Sep 17 00:00:00 2001
From: Scott Murray <scott.murray@konsulko.com>
Date: Wed, 19 Aug 2020 13:51:53 -0400
Subject: Enable J1939 support for qemu machines

Tweak the can-bus.cfg kernel configuration fragment to set
CONFIG_CAN_J1939, and add an over-ride in the agl-service-can-low-level
recipe to enable J1939 support on qemu platforms where we know we have
a 5.4 kernel where it will work.

Bug-AGL: SPEC-3538

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I16e77a70794dd79ac37139dd19b15a9e131cbf3e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25139
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
---
 meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg | 1 +
 1 file changed, 1 insertion(+)

(limited to 'meta-agl-bsp')

diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg
index 57e25fc6f..2f24b7607 100644
--- a/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg
+++ b/meta-agl-bsp/recipes-kernel/linux/linux/can-bus.cfg
@@ -7,6 +7,7 @@ CONFIG_CAN=m
 CONFIG_CAN_RAW=m
 CONFIG_CAN_BCM=m
 CONFIG_CAN_GW=m
+CONFIG_CAN_J1939=m
 
 #
 # CAN Device Drivers
-- 
cgit