From be23f9818a1dcb689cb28be39b497262b70d91cf Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sat, 20 Feb 2021 17:44:12 +0100 Subject: apm821xx: add support for kernel 5.10 for testing This patch copies over refreshed patches from 5.4. - dropped crypto patches (they got upstreamed) - dropped renesas USB 3 firmware loader (they got upstreamed) - NAND now needs extra device-properties for ECC settings. Signed-off-by: Christian Lamparter --- package/kernel/linux/modules/usb.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/kernel/linux/modules') diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 9ef3fb5974..1f72d89512 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1653,6 +1653,11 @@ XHCI_MODULES := xhci-hcd xhci-pci xhci-plat-hcd ifdef CONFIG_TARGET_ramips_mt7621 XHCI_MODULES += xhci-mtk endif +ifndef CONFIG_LINUX_5_4 + ifdef CONFIG_TARGET_apm821xx_nand + XHCI_MODULES += xhci-pci-renesas + endif +endif XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,$(XHCI_MODULES))) XHCI_AUTOLOAD := $(patsubst $(LINUX_DIR)/drivers/usb/host/%.ko,%,$(XHCI_FILES)) @@ -1667,6 +1672,7 @@ define KernelPackage/usb3 CONFIG_USB_XHCI_PCI \ CONFIG_USB_XHCI_PLATFORM \ CONFIG_USB_XHCI_MTK \ + CONFIG_USB_XHCI_PCI_RENESAS \ CONFIG_USB_XHCI_HCD_DEBUGGING=n FILES:= \ $(XHCI_FILES) -- cgit v1.2.3