From: Mathew McBride Date: Thu, 10 Aug 2023 04:01:20 +0000 (+0000) Subject: armsr: armv8: enable AHCI/SATA controllers for mvebu,qoriq,juno X-Git-Tag: v23.05.0-rc3~8 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dfb159c04b3011ca1b6059430e7790fb0e2b2bc4;p=openwrt%2Fstaging%2Fhauke.git armsr: armv8: enable AHCI/SATA controllers for mvebu,qoriq,juno When comparing the generated OpenWrt .config to the Linux arm64 defconfig, I noticed these SATA controllers were not included. As they may be used as a boot drive, they should be built into the kernel. CONFIG_SATA_MVEBU is for Marvell platforms. CONFIG_SATA_QORIQ is for NXP Layerscape. CONFIG_SATA_SIL24 is for Arm's Juno development board, see Linux kernel commit d7c38ff1cd86 ("arm64: defconfig: Add Juno SATA controller"). Signed-off-by: Mathew McBride (23.05/5.15 version of commit 9cb173e9f18da2530c3570479567d8130b05e5f8) --- diff --git a/target/linux/armsr/armv8/config-5.15 b/target/linux/armsr/armv8/config-5.15 index 2ebc77cf8f..20389f5f88 100644 --- a/target/linux/armsr/armv8/config-5.15 +++ b/target/linux/armsr/armv8/config-5.15 @@ -1,6 +1,8 @@ CONFIG_64BIT=y CONFIG_ACPI_APEI=y CONFIG_ACPI_HMAT=y +CONFIG_AHCI_MVEBU=y +CONFIG_AHCI_QORIQ=y CONFIG_AMPERE_ERRATUM_AC03_CPU_38=y CONFIG_ARCH_BCM=y CONFIG_ARCH_BCM2835=y @@ -594,6 +596,7 @@ CONFIG_RZ_DMAC=y CONFIG_SATA_AHCI=y CONFIG_SATA_AHCI_PLATFORM=y CONFIG_SATA_HOST=y +CONFIG_SATA_SIL24=y # CONFIG_SCHED_CORE is not set CONFIG_SCHED_MC=y CONFIG_SCHED_SMT=y