]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
starfive: usb3 and pcie support is compiled into kernel now
authorZoltan HERPAI <wigyori@uid0.hu>
Sun, 1 Jun 2025 14:09:52 +0000 (14:09 +0000)
committerZoltan HERPAI <wigyori@uid0.hu>
Fri, 13 Jun 2025 22:53:19 +0000 (00:53 +0200)
As support for these peripherals are now compiled into the kernel, the
respective kmods can be dropped.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
target/linux/starfive/image/Makefile
target/linux/starfive/modules.mk [deleted file]

index 51bc9c3cc6246c1060e365f0f5804c0602ad722d..2d6aacad6a419678a0bb31537185540848e735c5 100644 (file)
@@ -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 (file)
index 7aa559b..0000000
+++ /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))