modules.mk 884 B

12345678910111213141516171819202122232425262728293031
  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. define KernelPackage/pcie-starfive/description
  10. PCIe support for JH7110
  11. endef
  12. $(eval $(call KernelPackage,pcie-starfive))
  13. define KernelPackage/usb-cdns3-starfive
  14. TITLE:=Cadence USB3 StarFive USB driver
  15. DEPENDS:=@TARGET_starfive +kmod-usb-cdns3
  16. KCONFIG:= CONFIG_USB_CDNS3_STARFIVE
  17. FILES:= $(LINUX_DIR)/drivers/usb/cdns3/cdns3-starfive.ko
  18. AUTOLOAD:=$(call AutoLoad,53,cdns3-starfive,1)
  19. $(call AddDepends/usb)
  20. endef
  21. define KernelPackage/usb-cdns3-starfive/description
  22. Add support for the Cadence USB3 controller found in StarFive SoCs.
  23. endef
  24. $(eval $(call KernelPackage,usb-cdns3-starfive))