[openwrt/openwrt] starfive: usb3 and pcie support is compiled into kernel now

LEDE Commits lede-commits at lists.infradead.org
Fri Jun 13 16:02:10 PDT 2025


wigyori pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e2e4dcfe7525c3d219405c82872e39b0c2633132

commit e2e4dcfe7525c3d219405c82872e39b0c2633132
Author: Zoltan HERPAI <wigyori at uid0.hu>
AuthorDate: Sun Jun 1 14:09:52 2025 +0000

    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 <wigyori at uid0.hu>
---
 target/linux/starfive/image/Makefile |  7 +++----
 target/linux/starfive/modules.mk     | 31 -------------------------------
 2 files changed, 3 insertions(+), 35 deletions(-)

diff --git a/target/linux/starfive/image/Makefile b/target/linux/starfive/image/Makefile
index 51bc9c3cc6..2d6aacad6a 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 7aa559b9e5..0000000000
--- 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))




More information about the lede-commits mailing list