diff options
| author | Evan Wilson <evan@oliodevices.com> | 2014-04-01 15:41:34 -0700 | 
|---|---|---|
| committer | Evan Wilson <evan@oliodevices.com> | 2014-04-03 15:11:02 -0700 | 
| commit | 296a4a7816edb3050f1e3abf8df3b86a511858f0 (patch) | |
| tree | 24a56b9269c190211de3a05010aaa24ec365a6eb /common/spl/spl.c | |
| parent | c86f572d8a46a39371a9bc05319f58eb9cca55fa (diff) | |
| download | olio-uboot-2014.01-296a4a7816edb3050f1e3abf8df3b86a511858f0.tar.xz olio-uboot-2014.01-296a4a7816edb3050f1e3abf8df3b86a511858f0.zip | |
U-boot flashed and booting
Diffstat (limited to 'common/spl/spl.c')
| -rw-r--r-- | common/spl/spl.c | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/common/spl/spl.c b/common/spl/spl.c index da31457d5..2c7ca16dc 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -156,6 +156,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)  	switch (boot_device) {  #ifdef CONFIG_SPL_RAM_DEVICE  	case BOOT_DEVICE_RAM: +		debug("Booting from RAM\n");  		spl_ram_load_image();  		break;  #endif @@ -163,37 +164,44 @@ void board_init_r(gd_t *dummy1, ulong dummy2)  	case BOOT_DEVICE_MMC1:  	case BOOT_DEVICE_MMC2:  	case BOOT_DEVICE_MMC2_2: +		debug("Booting from MMC\n");  		spl_mmc_load_image();  		break;  #endif  #ifdef CONFIG_SPL_NAND_SUPPORT  	case BOOT_DEVICE_NAND: +		debug("Booting from NAND\n");  		spl_nand_load_image();  		break;  #endif  #ifdef CONFIG_SPL_ONENAND_SUPPORT  	case BOOT_DEVICE_ONENAND: +		debug("Booting from ONENAND\n");  		spl_onenand_load_image();  		break;  #endif  #ifdef CONFIG_SPL_NOR_SUPPORT  	case BOOT_DEVICE_NOR: +		debug("Booting from NOR\n");  		spl_nor_load_image();  		break;  #endif  #ifdef CONFIG_SPL_YMODEM_SUPPORT  	case BOOT_DEVICE_UART: +		debug("Booting from Y modem\n");  		spl_ymodem_load_image();  		break;  #endif  #ifdef CONFIG_SPL_SPI_SUPPORT  	case BOOT_DEVICE_SPI: +		debug("Booting from SPI\n");  		spl_spi_load_image();  		break;  #endif  #ifdef CONFIG_SPL_ETH_SUPPORT  	case BOOT_DEVICE_CPGMAC:  #ifdef CONFIG_SPL_ETH_DEVICE +		debug("Booting from ETH\n");  		spl_net_load_image(CONFIG_SPL_ETH_DEVICE);  #else  		spl_net_load_image(NULL); @@ -202,6 +210,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)  #endif  #ifdef CONFIG_SPL_USBETH_SUPPORT  	case BOOT_DEVICE_USBETH: +		debug("Booting from USB ETHER\");  		spl_net_load_image("usb_ether");  		break;  #endif |