[openwrt/openwrt] kernel: add kmod-ata-ahci-dwc

LEDE Commits lede-commits at lists.infradead.org
Sat May 4 15:47:14 PDT 2024


nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/cfb7df2991d9b9580d9c14b482813214bddbe125

commit cfb7df2991d9b9580d9c14b482813214bddbe125
Author: Antonio Flores <antflores627 at gmail.com>
AuthorDate: Thu Apr 11 14:43:06 2024 -0400

    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 <antflores627 at gmail.com>
---
 package/kernel/linux/modules/block.mk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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, at TARGET_rockchip)
+endef
+
+$(eval $(call KernelPackage,ata-ahci-dwc))
 
 define KernelPackage/ata-nvidia-sata
   TITLE:=Nvidia Serial ATA support




More information about the lede-commits mailing list