aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorLuis Araneda <luaraneda@gmail.com>2019-04-01 00:33:07 -0300
committerHauke Mehrtens <hauke@hauke-m.de>2019-04-06 16:31:10 +0200
commit3db12da7cdabfa682a4ebbd95fb3287c84248d7b (patch)
treedc3da990a966a89ff772f23d6e91e2aff2c4f36e /target
parent177a634e18d544149f7c4905d8e549f1d6b112e4 (diff)
downloadupstream-3db12da7cdabfa682a4ebbd95fb3287c84248d7b.tar.gz
upstream-3db12da7cdabfa682a4ebbd95fb3287c84248d7b.tar.bz2
upstream-3db12da7cdabfa682a4ebbd95fb3287c84248d7b.zip
zynq: replace CAN kconfig options by device packages
The options are managed on a generic way by the can kmod packages Additionally, select can packages only for devices that currently has CAN enabled, which is only the ZC702 Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/zynq/config-4.1421
-rw-r--r--target/linux/zynq/image/Makefile1
2 files changed, 1 insertions, 21 deletions
diff --git a/target/linux/zynq/config-4.14 b/target/linux/zynq/config-4.14
index 7ec3a586ca..b78113a21f 100644
--- a/target/linux/zynq/config-4.14
+++ b/target/linux/zynq/config-4.14
@@ -81,27 +81,6 @@ CONFIG_BUILD_BIN2C=y
CONFIG_CACHE_L2X0=y
CONFIG_CADENCE_TTC_TIMER=y
CONFIG_CADENCE_WATCHDOG=y
-CONFIG_CAN=y
-# CONFIG_CAN_8DEV_USB is not set
-CONFIG_CAN_BCM=y
-CONFIG_CAN_CALC_BITTIMING=y
-# CONFIG_CAN_CC770 is not set
-# CONFIG_CAN_C_CAN is not set
-CONFIG_CAN_DEV=y
-# CONFIG_CAN_EMS_USB is not set
-# CONFIG_CAN_ESD_USB2 is not set
-# CONFIG_CAN_FLEXCAN is not set
-# CONFIG_CAN_GRCAN is not set
-CONFIG_CAN_GW=y
-# CONFIG_CAN_KVASER_USB is not set
-# CONFIG_CAN_LEDS is not set
-# CONFIG_CAN_MCP251X is not set
-# CONFIG_CAN_PEAK_USB is not set
-CONFIG_CAN_RAW=y
-# CONFIG_CAN_SJA1000 is not set
-# CONFIG_CAN_SOFTING is not set
-# CONFIG_CAN_TI_HECC is not set
-CONFIG_CAN_XILINXCAN=y
CONFIG_CHR_DEV_SG=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK=y
diff --git a/target/linux/zynq/image/Makefile b/target/linux/zynq/image/Makefile
index aac9953b45..d8a882313b 100644
--- a/target/linux/zynq/image/Makefile
+++ b/target/linux/zynq/image/Makefile
@@ -74,6 +74,7 @@ define Device/xlnx_zynq-zc702
$(call Device/FitImageGzip)
DEVICE_TITLE := ZC702 Development Board
DEVICE_DTS := zynq-zc702
+ DEVICE_PACKAGES:=kmod-can kmod-can-xilinx-can
endef
TARGET_DEVICES += xlnx_zynq-zc702