From 8010d3da0376f68dd3724c30db0c4c9c513e5376 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 14 Sep 2022 20:23:17 +0100 Subject: mediatek: build USB XHCI support as module Instead of always including the XHCI driver in the kernel on all MediaTek boards, selectively include the kernel module only on boards which actually make use of USB functionality. Signed-off-by: Daniel Golle --- package/kernel/linux/modules/usb.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'package/kernel/linux') diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index f3838b3981d..4ee70d7eb9a 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1746,6 +1746,7 @@ define KernelPackage/usb3 +TARGET_bcm53xx:kmod-usb-bcma \ +TARGET_bcm53xx:kmod-phy-bcm-ns-usb3 \ +TARGET_ramips_mt7621:kmod-usb-xhci-mtk \ + +TARGET_mediatek:kmod-usb-xhci-mtk \ +TARGET_apm821xx_nand:kmod-usb-xhci-pci-renesas \ +TARGET_mvebu_cortexa9:kmod-usb-xhci-pci-renesas KCONFIG:= \ -- cgit v1.2.3