summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltan HERPAI2025-06-01 14:09:52 +0000
committerZoltan HERPAI2025-06-13 22:53:19 +0000
commite2e4dcfe7525c3d219405c82872e39b0c2633132 (patch)
treefc26a8f55e2ed994f2317cdf659249f21b100e1b
parent4801c5bec38173a30076e2c4d26c70288dfbc850 (diff)
downloadopenwrt-e2e4dcfe7525c3d219405c82872e39b0c2633132.tar.gz
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@uid0.hu>
-rw-r--r--target/linux/starfive/image/Makefile7
-rw-r--r--target/linux/starfive/modules.mk31
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))