diff options
author | David Woodhouse <dwmw2@infradead.org> | 2020-06-10 16:23:04 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-08 23:22:30 +0200 |
commit | 91e43a1d7a68ead78b6510a706e42e52d6f1a9aa (patch) | |
tree | edd83148cb621bf1eb8f186370f800e5a1f4ecaf /target | |
parent | c848bc6cd576baf1d538d97662e410289214f0b7 (diff) | |
download | upstream-91e43a1d7a68ead78b6510a706e42e52d6f1a9aa.tar.gz upstream-91e43a1d7a68ead78b6510a706e42e52d6f1a9aa.tar.bz2 upstream-91e43a1d7a68ead78b6510a706e42e52d6f1a9aa.zip |
mediatek: enable SATA for mt7623
The MT7623 SoC has the same SATA block as the MT7622, so enable it in
MT7623 builds too and add it to the DEVICE_PACKAGES for those boards.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/mediatek/image/mt7623.mk | 4 | ||||
-rw-r--r-- | target/linux/mediatek/modules.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/mediatek/image/mt7623.mk b/target/linux/mediatek/image/mt7623.mk index 2257d8010f..a38c03deb9 100644 --- a/target/linux/mediatek/image/mt7623.mk +++ b/target/linux/mediatek/image/mt7623.mk @@ -6,7 +6,7 @@ define Device/bpi_bananapi-r2 DEVICE_DTS := mt7623n-bananapi-bpi-r2 SUPPORTED_DEVICES := bananapi,bpi-r2 DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \ - mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3 + mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk endef TARGET_DEVICES += bpi_bananapi-r2 @@ -18,6 +18,6 @@ define Device/unielec_u7623-02-emmc-512m IMAGES := sysupgrade-emmc.bin.gz IMAGE/sysupgrade-emmc.bin.gz := sysupgrade-emmc | gzip | append-metadata DEVICE_PACKAGES := kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 kmod-mmc \ - mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3 + mkf2fs e2fsprogs kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk endef TARGET_DEVICES += unielec_u7623-02-emmc-512m diff --git a/target/linux/mediatek/modules.mk b/target/linux/mediatek/modules.mk index 7f8c038cae..eb81afe235 100644 --- a/target/linux/mediatek/modules.mk +++ b/target/linux/mediatek/modules.mk @@ -6,7 +6,7 @@ define KernelPackage/ata-ahci-mtk $(LINUX_DIR)/drivers/ata/libahci_platform.ko AUTOLOAD:=$(call AutoLoad,40,libahci libahci_platform ahci_mtk,1) $(call AddDepends/ata) - DEPENDS+=@TARGET_mediatek_mt7622 + DEPENDS+=@(TARGET_mediatek_mt7622||TARGET_mediatek_mt7623) endef define KernelPackage/ata-ahci-mtk/description |