mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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
2 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue