mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-29 07:06:20 +00:00
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 <paweldembicki@gmail.com> Reviewed-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
9d67d73fe4
commit
bfa3b577f8
@ -65,7 +65,7 @@ define KernelPackage/ata-ahci-platform
|
|||||||
$(LINUX_DIR)/drivers/ata/ahci_platform.ko \
|
$(LINUX_DIR)/drivers/ata/ahci_platform.ko \
|
||||||
$(LINUX_DIR)/drivers/ata/libahci_platform.ko
|
$(LINUX_DIR)/drivers/ata/libahci_platform.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_platform,1)
|
AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_platform,1)
|
||||||
$(call AddDepends/ata,@TARGET_ipq806x||TARGET_sunxi)
|
$(call AddDepends/ata,@TARGET_ipq806x||TARGET_layerscape||TARGET_sunxi)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ata-ahci-platform/description
|
define KernelPackage/ata-ahci-platform/description
|
||||||
|
@ -103,6 +103,7 @@ define Device/fsl_ls1043a-rdb
|
|||||||
layerscape-fman \
|
layerscape-fman \
|
||||||
tfa-ls1043a-rdb \
|
tfa-ls1043a-rdb \
|
||||||
fmc fmc-eth-config \
|
fmc fmc-eth-config \
|
||||||
|
kmod-ahci-qoriq \
|
||||||
kmod-hwmon-ina2xx \
|
kmod-hwmon-ina2xx \
|
||||||
kmod-hwmon-lm90
|
kmod-hwmon-lm90
|
||||||
DEVICE_DTS := freescale/fsl-ls1043a-rdb-sdk
|
DEVICE_DTS := freescale/fsl-ls1043a-rdb-sdk
|
||||||
@ -126,6 +127,7 @@ define Device/fsl_ls1043a-rdb-sdboot
|
|||||||
layerscape-fman \
|
layerscape-fman \
|
||||||
tfa-ls1043a-rdb-sdboot \
|
tfa-ls1043a-rdb-sdboot \
|
||||||
fmc fmc-eth-config \
|
fmc fmc-eth-config \
|
||||||
|
kmod-ahci-qoriq \
|
||||||
kmod-hwmon-ina2xx \
|
kmod-hwmon-ina2xx \
|
||||||
kmod-hwmon-lm90
|
kmod-hwmon-lm90
|
||||||
DEVICE_DTS := freescale/fsl-ls1043a-rdb-sdk
|
DEVICE_DTS := freescale/fsl-ls1043a-rdb-sdk
|
||||||
@ -157,6 +159,7 @@ define Device/fsl_ls1046a-rdb
|
|||||||
layerscape-fman \
|
layerscape-fman \
|
||||||
tfa-ls1046a-rdb \
|
tfa-ls1046a-rdb \
|
||||||
fmc fmc-eth-config \
|
fmc fmc-eth-config \
|
||||||
|
kmod-ahci-qoriq \
|
||||||
kmod-hwmon-ina2xx \
|
kmod-hwmon-ina2xx \
|
||||||
kmod-hwmon-lm90
|
kmod-hwmon-lm90
|
||||||
DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
|
DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
|
||||||
@ -180,6 +183,7 @@ define Device/fsl_ls1046a-rdb-sdboot
|
|||||||
layerscape-fman \
|
layerscape-fman \
|
||||||
tfa-ls1046a-rdb-sdboot \
|
tfa-ls1046a-rdb-sdboot \
|
||||||
fmc fmc-eth-config \
|
fmc fmc-eth-config \
|
||||||
|
kmod-ahci-qoriq \
|
||||||
kmod-hwmon-ina2xx \
|
kmod-hwmon-ina2xx \
|
||||||
kmod-hwmon-lm90
|
kmod-hwmon-lm90
|
||||||
DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
|
DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
|
||||||
@ -212,6 +216,7 @@ define Device/fsl_ls1088a-rdb
|
|||||||
layerscape-dpl \
|
layerscape-dpl \
|
||||||
tfa-ls1088a-rdb \
|
tfa-ls1088a-rdb \
|
||||||
restool \
|
restool \
|
||||||
|
kmod-ahci-qoriq \
|
||||||
kmod-hwmon-ina2xx \
|
kmod-hwmon-ina2xx \
|
||||||
kmod-hwmon-lm90
|
kmod-hwmon-lm90
|
||||||
IMAGE/firmware.bin := \
|
IMAGE/firmware.bin := \
|
||||||
@ -237,6 +242,7 @@ define Device/fsl_ls1088a-rdb-sdboot
|
|||||||
layerscape-dpl \
|
layerscape-dpl \
|
||||||
tfa-ls1088a-rdb-sdboot \
|
tfa-ls1088a-rdb-sdboot \
|
||||||
restool \
|
restool \
|
||||||
|
kmod-ahci-qoriq \
|
||||||
kmod-hwmon-ina2xx \
|
kmod-hwmon-ina2xx \
|
||||||
kmod-hwmon-lm90
|
kmod-hwmon-lm90
|
||||||
DEVICE_DTS := freescale/fsl-ls1088a-rdb
|
DEVICE_DTS := freescale/fsl-ls1088a-rdb
|
||||||
@ -269,7 +275,8 @@ define Device/fsl_ls2088a-rdb
|
|||||||
layerscape-mc \
|
layerscape-mc \
|
||||||
layerscape-dpl \
|
layerscape-dpl \
|
||||||
tfa-ls2088a-rdb \
|
tfa-ls2088a-rdb \
|
||||||
restool
|
restool \
|
||||||
|
kmod-ahci-qoriq
|
||||||
IMAGE/firmware.bin := \
|
IMAGE/firmware.bin := \
|
||||||
ls-clean | \
|
ls-clean | \
|
||||||
ls-append $(1)-bl2.pbl | pad-to 1M | \
|
ls-append $(1)-bl2.pbl | pad-to 1M | \
|
||||||
|
@ -5,6 +5,22 @@
|
|||||||
# See /LICENSE for more information.
|
# 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
|
define KernelPackage/ppfe
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Freescale PPFE Driver support
|
TITLE:=Freescale PPFE Driver support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user