diff options
author | Bo Shen <voice.shen@atmel.com> | 2014-03-03 06:47:15 (GMT) |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2014-03-09 18:18:33 (GMT) |
commit | 8a45b0ba87649b1bad459fb235a843f5588a8251 (patch) | |
tree | b24037789f5be2823ef141f6073822467692d158 /board/atmel/sama5d3xek/sama5d3xek.c | |
parent | 7ca6f363251a36622c6561c968bc0989f96457b1 (diff) | |
download | u-boot-fsl-qoriq-8a45b0ba87649b1bad459fb235a843f5588a8251.tar.xz |
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 'board/atmel/sama5d3xek/sama5d3xek.c')
-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 eff94a4..8a214de 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_SERIALFLASH + at91_spi0_hw_init(1 << 0); #endif } |