aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/include
diff options
context:
space:
mode:
authorBaruch Siach2019-05-16 13:03:58 +0300
committerStefan Roese2019-07-11 10:58:02 +0200
commit22c654557f250bf877d86e59d228c05c9a92e3b0 (patch)
tree957422f676bbb44c90c168ffcd63015fa534deaf /arch/arm/mach-mvebu/include
parentf0aa1254776cbc0406d9b0b794479490799c3c47 (diff)
arm: mvebu: add support for boot from SATA
Add the required Kconfig and macro definitions to allow boot from SATA on Armada 38x systems. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-mvebu/include')
-rw-r--r--arch/arm/mach-mvebu/include/mach/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h
index f666ee24243..acb9257c90f 100644
--- a/arch/arm/mach-mvebu/include/mach/soc.h
+++ b/arch/arm/mach-mvebu/include/mach/soc.h
@@ -159,7 +159,9 @@
#define BOOT_DEV_SEL_MASK (0x3f << BOOT_DEV_SEL_OFFS)
#define BOOT_FROM_NAND 0x0A
+#define BOOT_FROM_SATA 0x22
#define BOOT_FROM_UART 0x28
+#define BOOT_FROM_SATA_ALT 0x2A
#define BOOT_FROM_UART_ALT 0x3f
#define BOOT_FROM_SPI 0x32
#define BOOT_FROM_MMC 0x30