diff options
author | Baruch Siach <baruch@tkos.co.il> | 2019-05-16 13:03:58 +0300 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2019-07-11 10:58:02 +0200 |
commit | 22c654557f250bf877d86e59d228c05c9a92e3b0 (patch) | |
tree | 957422f676bbb44c90c168ffcd63015fa534deaf /arch/arm/mach-mvebu/spl.c | |
parent | f0aa1254776cbc0406d9b0b794479490799c3c47 (diff) | |
download | u-boot-22c654557f250bf877d86e59d228c05c9a92e3b0.tar.gz |
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/spl.c')
-rw-r--r-- | arch/arm/mach-mvebu/spl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c index 530b98c1aa..d54de51956 100644 --- a/arch/arm/mach-mvebu/spl.c +++ b/arch/arm/mach-mvebu/spl.c @@ -59,6 +59,11 @@ static u32 get_boot_device(void) case BOOT_FROM_UART_ALT: #endif return BOOT_DEVICE_UART; +#ifdef BOOT_FROM_SATA + case BOOT_FROM_SATA: + case BOOT_FROM_SATA_ALT: + return BOOT_DEVICE_SATA; +#endif case BOOT_FROM_SPI: default: return BOOT_DEVICE_SPI; |