From 2d72671b6e7469dbc5b2e79cb1be77c4e13a9c92 Mon Sep 17 00:00:00 2001 From: Pawel Dembicki Date: Tue, 25 Aug 2020 15:26:05 +0200 Subject: layerscape: add layerscape's SATA driver package This patch intruduce SATA support for layerscape devices. Target specific package with ahci_qoriq driver was added to local modules.mk. Kmod package was added to default packages for devices with SATA interface. Signed-off-by: Pawel Dembicki Reviewed-by: Yangbo Lu --- target/linux/layerscape/modules.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'target/linux/layerscape/modules.mk') diff --git a/target/linux/layerscape/modules.mk b/target/linux/layerscape/modules.mk index 5f2d472c95..4d713b597e 100644 --- a/target/linux/layerscape/modules.mk +++ b/target/linux/layerscape/modules.mk @@ -5,6 +5,22 @@ # See /LICENSE for more information. # +define KernelPackage/ahci-qoriq + SUBMENU:=$(BLOCK_MENU) + TITLE:=Freescale QorIQ AHCI SATA support + KCONFIG:=CONFIG_AHCI_QORIQ + FILES:=$(LINUX_DIR)/drivers/ata/ahci_qoriq.ko + AUTOLOAD:=$(call AutoLoad,40,ahci-qoriq,1) + $(call AddDepends/ata,+kmod-ata-ahci-platform @TARGET_layerscape) +endef + +define KernelPackage/ahci-qoriq/description + This option enables support for the Freescale QorIQ AHCI SoC's + onboard AHCI SATA. +endef + +$(eval $(call KernelPackage,ahci-qoriq)) + define KernelPackage/ppfe SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Freescale PPFE Driver support -- cgit v1.2.3