ARM: SPL: Start hooking in the current SPI SPL support
Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
026b2fe32c
commit
d4c4e0e117
@ -174,6 +174,11 @@ void board_init_r(gd_t *id, ulong dummy)
|
||||
case BOOT_DEVICE_UART:
|
||||
spl_ymodem_load_image();
|
||||
break;
|
||||
#endif
|
||||
#ifdef CONFIG_SPL_SPI_SUPPORT
|
||||
case BOOT_DEVICE_SPI:
|
||||
spi_boot();
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
puts("SPL: Un-supported Boot Device\n");
|
||||
|
@ -60,6 +60,9 @@ void spl_mmc_load_image(void);
|
||||
/* YMODEM SPL functions */
|
||||
void spl_ymodem_load_image(void);
|
||||
|
||||
/* SPI SPL functions */
|
||||
void spi_boot(void);
|
||||
|
||||
#ifdef CONFIG_SPL_BOARD_INIT
|
||||
void spl_board_init(void);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user