diff mbox series

[7/7] arm: juno: Enable SATA controller

Message ID 20200611110321.9574-8-andre.przywara@arm.com
State Accepted
Commit 9b9f10e3ccded02443162980d34be517886b0645
Headers show
Series arm: Juno board updates and PCIe/SATA enablement | expand

Commit Message

Andre Przywara June 11, 2020, 11:03 a.m. UTC
The ARM Juno boards (-r1 and -r2) feature a Silicon Image 3132 PCIe
SATA controller soldered on the board, providing two SATA ports.

Enable the driver and the sata command in the defconfig, to be able to
load images from SATA disks.

Tested by loading kernels and Grub/EFI from an SSD and successfully
booting a Linux system (with and without using UEFI).

Signed-off-by: Andre Przywara <andre.przywara at arm.com>
---
 configs/vexpress_aemv8a_juno_defconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Linus Walleij June 20, 2020, 8:28 p.m. UTC | #1
On Thu, Jun 11, 2020 at 1:04 PM Andre Przywara <andre.przywara at arm.com> wrote:

> The ARM Juno boards (-r1 and -r2) feature a Silicon Image 3132 PCIe
> SATA controller soldered on the board, providing two SATA ports.
>
> Enable the driver and the sata command in the defconfig, to be able to
> load images from SATA disks.
>
> Tested by loading kernels and Grub/EFI from an SSD and successfully
> booting a Linux system (with and without using UEFI).
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Nice!!
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/configs/vexpress_aemv8a_juno_defconfig b/configs/vexpress_aemv8a_juno_defconfig
index 4866a0e9d5..4654c529e8 100644
--- a/configs/vexpress_aemv8a_juno_defconfig
+++ b/configs/vexpress_aemv8a_juno_defconfig
@@ -29,14 +29,15 @@  CONFIG_CMD_USB=y
 CONFIG_CMD_CACHE=y
 # CONFIG_CMD_MISC is not set
 CONFIG_CMD_UBI=y
-# CONFIG_ISO_PARTITION is not set
-# CONFIG_EFI_PARTITION is not set
 CONFIG_OF_BOARD=y
 CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_PCIE_ECAM_GENERIC=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_CMD_PCI=y
+CONFIG_LIBATA=y
+CONFIG_SATA_SIL=y
+CONFIG_CMD_SATA=y
 CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xBFC0000
 # CONFIG_MMC is not set