From: Antonio Flores Date: Thu, 11 Apr 2024 18:43:06 +0000 (-0400) Subject: kernel: add kmod-ata-ahci-dwc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cfb7df2991d9b9580d9c14b482813214bddbe125;p=openwrt%2Fstaging%2Fansuel.git kernel: add kmod-ata-ahci-dwc Add kmod-ata-ahci-dwc for the rockchip target. https://github.com/torvalds/linux/commit/33629d35090f5ce2b1b4ce78aa39954c603536d5 Signed-off-by: Antonio Flores --- diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index 4f3a6e085f..3dbeca9f9f 100644 --- a/package/kernel/linux/modules/block.mk +++ b/package/kernel/linux/modules/block.mk @@ -89,6 +89,18 @@ endef $(eval $(call KernelPackage,ata-artop)) +define KernelPackage/ata-ahci-dwc + TITLE:=Synopsys DWC AHCI SATA + KCONFIG:= \ + CONFIG_AHCI_DWC \ + CONFIG_SATA_HOST=y + FILES:=$(LINUX_DIR)/drivers/ata/ahci_dwc.ko + DEPENDS:=+kmod-ata-ahci-platform + AUTOLOAD:=$(call AutoLoad,41,ahci_dwc,1) + $(call AddDepends/ata,@TARGET_rockchip) +endef + +$(eval $(call KernelPackage,ata-ahci-dwc)) define KernelPackage/ata-nvidia-sata TITLE:=Nvidia Serial ATA support