summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2014-03-03 14:47:17 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2014-03-09 19:19:13 +0100
commit27019e4a949fc3be2e895ac20839c4d4d119f902 (patch)
treed3a7c81bbe59a4caf9644f7727a6f99a1c7ad098 /arch/arm/include
parent0b0b4f5981dc46832048944063b31c235dfd9555 (diff)
downloadu-boot-imx-27019e4a949fc3be2e895ac20839c4d4d119f902.zip
u-boot-imx-27019e4a949fc3be2e895ac20839c4d4d119f902.tar.gz
u-boot-imx-27019e4a949fc3be2e895ac20839c4d4d119f902.tar.bz2
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/include')
-rw-r--r--arch/arm/include/asm/arch-at91/spl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-at91/spl.h b/arch/arm/include/asm/arch-at91/spl.h
index f4ced49..d8a87da 100644
--- a/arch/arm/include/asm/arch-at91/spl.h
+++ b/arch/arm/include/asm/arch-at91/spl.h
@@ -14,6 +14,8 @@ enum {
BOOT_DEVICE_MMC1,
BOOT_DEVICE_MMC2,
BOOT_DEVICE_MMC2_2,
+#elif CONFIG_SYS_USE_NANDFLASH
+ BOOT_DEVICE_NAND,
#elif CONFIG_SYS_USE_SERIALFLASH
BOOT_DEVICE_SPI,
#endif