aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorLuis Araneda <luaraneda@gmail.com>2019-04-01 00:33:06 -0300
committerHauke Mehrtens <hauke@hauke-m.de>2019-04-06 16:31:10 +0200
commit177a634e18d544149f7c4905d8e549f1d6b112e4 (patch)
tree0790b6888e66c71643d44dccc8a1a930a50d4316 /package/kernel/linux/modules
parent6e303b453290c5deddaf8617da3fe10a8bd08285 (diff)
downloadupstream-177a634e18d544149f7c4905d8e549f1d6b112e4.tar.gz
upstream-177a634e18d544149f7c4905d8e549f1d6b112e4.tar.bz2
upstream-177a634e18d544149f7c4905d8e549f1d6b112e4.zip
kernel: can: add Xilinx CAN IP kernel module package
This driver is required to use the CAN IP on devices from the zynq target Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/can.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk
index b0d254511b..85700eabad 100644
--- a/package/kernel/linux/modules/can.mk
+++ b/package/kernel/linux/modules/can.mk
@@ -26,7 +26,6 @@ define KernelPackage/can
CONFIG_CAN_MSCAN=n \
CONFIG_CAN_SJA1000=n \
CONFIG_CAN_SOFTING=n \
- CONFIG_CAN_XILINXCAN=n \
CONFIG_NET_EMATCH_CANID=n \
CONFIG_CAN_DEBUG_DEVICES=n
FILES:=$(LINUX_DIR)/drivers/net/can/can-dev.ko \
@@ -277,4 +276,17 @@ endef
$(eval $(call KernelPackage,can-vcan))
+define KernelPackage/can-xilinx-can
+ TITLE:=Xilinx CAN IP
+ KCONFIG:=CONFIG_CAN_XILINXCAN
+ FILES:=$(LINUX_DIR)/drivers/net/can/xilinx_can.ko
+ AUTOLOAD:=$(call AutoProbe,xilinx_can)
+ $(call AddDepends/can,@TARGET_zynq)
+endef
+
+define KernelPackage/can-xilinx-can/description
+ Xilinx CAN driver. This driver supports both
+ soft AXI CAN IP and Zynq CANPS IP.
+endef
+$(eval $(call KernelPackage,can-xilinx-can))