diff options
author | Bo Shen <voice.shen@atmel.com> | 2014-03-03 14:47:15 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-03-09 19:18:33 +0100 |
commit | 8a45b0ba87649b1bad459fb235a843f5588a8251 (patch) | |
tree | b24037789f5be2823ef141f6073822467692d158 /arch/arm/cpu | |
parent | 7ca6f363251a36622c6561c968bc0989f96457b1 (diff) | |
download | u-boot-imx-8a45b0ba87649b1bad459fb235a843f5588a8251.zip u-boot-imx-8a45b0ba87649b1bad459fb235a843f5588a8251.tar.gz u-boot-imx-8a45b0ba87649b1bad459fb235a843f5588a8251.tar.bz2 |
arm: atmel: sama5d3: add spi spl boot support
Add SPI SPL boot support for sama5d3xek board.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/at91-common/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/at91-common/spl.c b/arch/arm/cpu/at91-common/spl.c index 37c0cc4..2598e09 100644 --- a/arch/arm/cpu/at91-common/spl.c +++ b/arch/arm/cpu/at91-common/spl.c @@ -52,6 +52,8 @@ u32 spl_boot_device(void) { #ifdef CONFIG_SYS_USE_MMC return BOOT_DEVICE_MMC1; +#elif CONFIG_SYS_USE_SERIALFLASH + return BOOT_DEVICE_SPI; #endif return BOOT_DEVICE_NONE; } |