From e2e4dcfe7525c3d219405c82872e39b0c2633132 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Sun, 1 Jun 2025 14:09:52 +0000 Subject: [PATCH] starfive: usb3 and pcie support is compiled into kernel now As support for these peripherals are now compiled into the kernel, the respective kmods can be dropped. Signed-off-by: Zoltan HERPAI --- target/linux/starfive/image/Makefile | 7 +++---- target/linux/starfive/modules.mk | 31 ---------------------------- 2 files changed, 3 insertions(+), 35 deletions(-) delete mode 100644 target/linux/starfive/modules.mk diff --git a/target/linux/starfive/image/Makefile b/target/linux/starfive/image/Makefile index 51bc9c3cc62..2d6aacad6a4 100644 --- a/target/linux/starfive/image/Makefile +++ b/target/linux/starfive/image/Makefile @@ -52,7 +52,7 @@ define Device/visionfive2-v1.2a DEVICE_VENDOR := StarFive DEVICE_MODEL := VisionFive2 v1.2a DEVICE_DTS := starfive/jh7110-starfive-visionfive-2-v1.2a - DEVICE_PACKAGES := kmod-eeprom-at24 kmod-pcie-starfive kmod-usb3 kmod-usb-cdns3-starfive + DEVICE_PACKAGES := kmod-eeprom-at24 endef TARGET_DEVICES += visionfive2-v1.2a @@ -60,7 +60,7 @@ define Device/visionfive2-v1.3b DEVICE_VENDOR := StarFive DEVICE_MODEL := VisionFive2 v1.3b DEVICE_DTS := starfive/jh7110-starfive-visionfive-2-v1.3b - DEVICE_PACKAGES := kmod-eeprom-at24 kmod-pcie-starfive kmod-usb3 kmod-usb-cdns3-starfive + DEVICE_PACKAGES := kmod-eeprom-at24 endef TARGET_DEVICES += visionfive2-v1.3b @@ -77,8 +77,7 @@ define Device/visionfive-v1 DEVICE_VENDOR := StarFive DEVICE_MODEL := VisionFive v1 DEVICE_DTS := starfive/jh7100-starfive-visionfive-v1 - DEVICE_PACKAGES := kmod-eeprom-at24 kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls \ - kmod-usb3 kmod-usb-cdns3-starfive + DEVICE_PACKAGES := kmod-eeprom-at24 kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls endef TARGET_DEVICES += visionfive-v1 diff --git a/target/linux/starfive/modules.mk b/target/linux/starfive/modules.mk deleted file mode 100644 index 7aa559b9e52..00000000000 --- a/target/linux/starfive/modules.mk +++ /dev/null @@ -1,31 +0,0 @@ -define KernelPackage/pcie-starfive - SUBMENU:=$(OTHER_MENU) - TITLE:=JH7110 PCIe controller support - DEPENDS:=@TARGET_starfive - KCONFIG:=CONFIG_PCIE_STARFIVE - FILES:=$(LINUX_DIR)/drivers/pci/controller/pcie-starfive.ko - AUTOLOAD:=$(call AutoLoad,41,pcie-starfive,1) -endef - -define KernelPackage/pcie-starfive/description - PCIe support for JH7110 -endef - -$(eval $(call KernelPackage,pcie-starfive)) - - -define KernelPackage/usb-cdns3-starfive - TITLE:=Cadence USB3 StarFive USB driver - DEPENDS:=@TARGET_starfive +kmod-usb-cdns3 - KCONFIG:= CONFIG_USB_CDNS3_STARFIVE - FILES:= $(LINUX_DIR)/drivers/usb/cdns3/cdns3-starfive.ko - AUTOLOAD:=$(call AutoLoad,53,cdns3-starfive,1) - $(call AddDepends/usb) -endef - -define KernelPackage/usb-cdns3-starfive/description - Add support for the Cadence USB3 controller found in StarFive SoCs. -endef - - -$(eval $(call KernelPackage,usb-cdns3-starfive)) -- 2.47.2