[openwrt/openwrt] armsr: armv8: enable AHCI/SATA controllers for mvebu,qoriq,juno

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 19 06:12:44 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/dfb159c04b3011ca1b6059430e7790fb0e2b2bc4

commit dfb159c04b3011ca1b6059430e7790fb0e2b2bc4
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Thu Aug 10 04:01:20 2023 +0000

    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 <matt at traverse.com.au>
    (23.05/5.15 version of commit 9cb173e9f18da2530c3570479567d8130b05e5f8)
---
 target/linux/armsr/armv8/config-5.15 | 3 +++
 1 file changed, 3 insertions(+)

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




More information about the lede-commits mailing list