Browse Source

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 <[email protected]>
Antonio Flores 1 year ago
parent
commit
cfb7df2991
1 changed files with 12 additions and 0 deletions
  1. 12 0
      package/kernel/linux/modules/block.mk

+ 12 - 0
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