mirror of https://github.com/hak5/openwrt.git
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>openwrt-19.07
parent
177a634e18
commit
3db12da7cd
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue