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

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 15 07:05:28 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9cb173e9f18da2530c3570479567d8130b05e5f8

commit 9cb173e9f18da2530c3570479567d8130b05e5f8
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>
---
 target/linux/armsr/armv8/config-6.1 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/armsr/armv8/config-6.1 b/target/linux/armsr/armv8/config-6.1
index b1774dd220..4eab79bba9 100644
--- a/target/linux/armsr/armv8/config-6.1
+++ b/target/linux/armsr/armv8/config-6.1
@@ -3,6 +3,8 @@ CONFIG_ACPI_APEI=y
 CONFIG_ACPI_HMAT=y
 CONFIG_ACPI_PCC=y
 CONFIG_AHCI_IMX=y
+CONFIG_AHCI_MVEBU=y
+CONFIG_AHCI_QORIQ=y
 CONFIG_AMPERE_ERRATUM_AC03_CPU_38=y
 CONFIG_ARCH_BCM=y
 CONFIG_ARCH_BCM2835=y
@@ -639,6 +641,7 @@ CONFIG_RTC_I2C_AND_SPI=y
 # CONFIG_RZG2L_ADC is not set
 # CONFIG_RZG2L_THERMAL is not set
 CONFIG_RZ_DMAC=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