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>
This commit is contained in:
Luis Araneda
2019-04-01 00:33:07 -03:00
committed by Hauke Mehrtens
parent 177a634e18
commit 3db12da7cd
2 changed files with 1 additions and 21 deletions

View File

@@ -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