starfive: add new target for StarFive JH7100/7110 SoC
[openwrt/staging/981213.git] / target / linux / starfive / modules.mk
1 define KernelPackage/pcie-starfive
2 SUBMENU:=$(OTHER_MENU)
3 TITLE:=JH7110 PCIe controller support
4 DEPENDS:=@TARGET_starfive
5 KCONFIG:=CONFIG_PCIE_STARFIVE
6 FILES:=$(LINUX_DIR)/drivers/pci/controller/pcie-starfive.ko
7 AUTOLOAD:=$(call AutoLoad,41,pcie-starfive,1)
8 endef
9
10 define KernelPackage/pcie-starfive/description
11 PCIe support for JH7110
12 endef
13
14 $(eval $(call KernelPackage,pcie-starfive))
15
16
17 define KernelPackage/usb-cdns3-starfive
18 TITLE:=Cadence USB3 StarFive USB driver
19 DEPENDS:=@TARGET_starfive +kmod-usb-cdns3
20 KCONFIG:= CONFIG_USB_CDNS3_STARFIVE
21 FILES:= $(LINUX_DIR)/drivers/usb/cdns3/cdns3-starfive.ko
22 AUTOLOAD:=$(call AutoLoad,53,cdns3-starfive,1)
23 $(call AddDepends/usb)
24 endef
25
26 define KernelPackage/usb-cdns3-starfive/description
27 Add support for the Cadence USB3 controller found in StarFive SoCs.
28 endef
29
30
31 $(eval $(call KernelPackage,usb-cdns3-starfive))