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 /board/atmel/sama5d3xek | |
parent | 0b0b4f5981dc46832048944063b31c235dfd9555 (diff) | |
download | u-boot-27019e4a949fc3be2e895ac20839c4d4d119f902.tar.gz u-boot-27019e4a949fc3be2e895ac20839c4d4d119f902.tar.bz2 u-boot-27019e4a949fc3be2e895ac20839c4d4d119f902.zip |
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 'board/atmel/sama5d3xek')
-rw-r--r-- | board/atmel/sama5d3xek/sama5d3xek.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c index 8a214de475..c835c12d02 100644 --- a/board/atmel/sama5d3xek/sama5d3xek.c +++ b/board/atmel/sama5d3xek/sama5d3xek.c @@ -307,6 +307,8 @@ void spl_board_init(void) { #ifdef CONFIG_SYS_USE_MMC sama5d3xek_mci_hw_init(); +#elif CONFIG_SYS_USE_NANDFLASH + sama5d3xek_nand_hw_init(); #elif CONFIG_SYS_USE_SERIALFLASH at91_spi0_hw_init(1 << 0); #endif |