diff options
author | Bo Shen <voice.shen@atmel.com> | 2014-03-03 14:47:17 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-03-09 19:19:13 +0100 |
commit | 27019e4a949fc3be2e895ac20839c4d4d119f902 (patch) | |
tree | d3a7c81bbe59a4caf9644f7727a6f99a1c7ad098 /arch/arm/cpu/at91-common/spl.c | |
parent | 0b0b4f5981dc46832048944063b31c235dfd9555 (diff) |
arm: atmel: sama5d3: add nand spl boot support
Add NAND SPL boot support with hardware PMECC.
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/at91-common/spl.c')
-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 2598e09959..7f4debb912 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_NANDFLASH + return BOOT_DEVICE_NAND; #elif CONFIG_SYS_USE_SERIALFLASH return BOOT_DEVICE_SPI; #endif |