armvirt: package and select Rockchip DWMAC Ethernet driver
For devices that implement the "rockchip,*-gmac" compatible controller, including: - RK3328 - RK3399 - RK3568 - RK3588 - PX30 Signed-off-by: Mathew McBride <matt@traverse.com.au>
This commit is contained in:
parent
847467a572
commit
abbffe55dd
2 changed files with 13 additions and 2 deletions
|
@ -109,8 +109,8 @@ define Device/generic
|
||||||
kmod-i2c-mux-pca954x kmod-gpio-pca953x partx-utils kmod-wdt-sp805 \
|
kmod-i2c-mux-pca954x kmod-gpio-pca953x partx-utils kmod-wdt-sp805 \
|
||||||
kmod-mvneta kmod-mvpp2 kmod-fsl-dpaa1-net kmod-fsl-dpaa2-net \
|
kmod-mvneta kmod-mvpp2 kmod-fsl-dpaa1-net kmod-fsl-dpaa2-net \
|
||||||
kmod-fsl-enetc-net kmod-dwmac-imx kmod-fsl-fec kmod-thunderx-net \
|
kmod-fsl-enetc-net kmod-dwmac-imx kmod-fsl-fec kmod-thunderx-net \
|
||||||
kmod-dwmac-sun8i kmod-phy-aquantia kmod-phy-broadcom kmod-phy-marvell \
|
kmod-dwmac-rockchip kmod-dwmac-sun8i kmod-phy-aquantia kmod-phy-broadcom \
|
||||||
kmod-sfp kmod-phy-marvell-10g kmod-atlantic
|
kmod-phy-marvell kmod-phy-marvell-10g kmod-sfp kmod-atlantic
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += generic
|
TARGET_DEVICES += generic
|
||||||
|
|
||||||
|
|
|
@ -245,6 +245,17 @@ endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,dwmac-sun8i))
|
$(eval $(call KernelPackage,dwmac-sun8i))
|
||||||
|
|
||||||
|
define KernelPackage/dwmac-rockchip
|
||||||
|
SUBMENU=$(NETWORK_DEVICES_MENU)
|
||||||
|
TITLE:=Rockchip RK3328/RK3399/RK3568 Ethernet
|
||||||
|
DEPENDS:=+kmod-stmmac-core +kmod-mdio-bus-mux
|
||||||
|
KCONFIG:=CONFIG_DWMAC_ROCKCHIP
|
||||||
|
FILES=$(LINUX_DIR)/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.ko
|
||||||
|
AUTOLOAD=$(call AutoLoad,45,dwmac-rk)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,dwmac-rockchip))
|
||||||
|
|
||||||
define KernelPackage/thunderx-net
|
define KernelPackage/thunderx-net
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Marvell (Cavium) ThunderX/2 network drivers
|
TITLE:=Marvell (Cavium) ThunderX/2 network drivers
|
||||||
|
|
Loading…
Reference in a new issue