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>
This commit is contained in:
Zoltan HERPAI 2025-06-01 14:09:52 +00:00
parent 4801c5bec3
commit e2e4dcfe75
2 changed files with 3 additions and 35 deletions

View file

@ -52,7 +52,7 @@ define Device/visionfive2-v1.2a
DEVICE_VENDOR := StarFive DEVICE_VENDOR := StarFive
DEVICE_MODEL := VisionFive2 v1.2a DEVICE_MODEL := VisionFive2 v1.2a
DEVICE_DTS := starfive/jh7110-starfive-visionfive-2-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 endef
TARGET_DEVICES += visionfive2-v1.2a TARGET_DEVICES += visionfive2-v1.2a
@ -60,7 +60,7 @@ define Device/visionfive2-v1.3b
DEVICE_VENDOR := StarFive DEVICE_VENDOR := StarFive
DEVICE_MODEL := VisionFive2 v1.3b DEVICE_MODEL := VisionFive2 v1.3b
DEVICE_DTS := starfive/jh7110-starfive-visionfive-2-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 endef
TARGET_DEVICES += visionfive2-v1.3b TARGET_DEVICES += visionfive2-v1.3b
@ -77,8 +77,7 @@ define Device/visionfive-v1
DEVICE_VENDOR := StarFive DEVICE_VENDOR := StarFive
DEVICE_MODEL := VisionFive v1 DEVICE_MODEL := VisionFive v1
DEVICE_DTS := starfive/jh7100-starfive-visionfive-v1 DEVICE_DTS := starfive/jh7100-starfive-visionfive-v1
DEVICE_PACKAGES := kmod-eeprom-at24 kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls \ DEVICE_PACKAGES := kmod-eeprom-at24 kmod-brcmfmac cypress-firmware-43430-sdio wpad-basic-mbedtls
kmod-usb3 kmod-usb-cdns3-starfive
endef endef
TARGET_DEVICES += visionfive-v1 TARGET_DEVICES += visionfive-v1

View file

@ -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))