software/bios/main: Generate Initialization banner for SPIFlash.
This commit is contained in:
parent
8415e5d6ac
commit
14d60661b9
|
@ -145,7 +145,7 @@ int main(int i, char **c)
|
||||||
|
|
||||||
sdr_ok = 1;
|
sdr_ok = 1;
|
||||||
|
|
||||||
#if defined(CSR_ETHMAC_BASE) || defined(CSR_SDRAM_BASE)
|
#if defined(CSR_ETHMAC_BASE) || defined(CSR_SDRAM_BASE) || defined(CSR_SPIFLASH_MMAP_BASE)
|
||||||
printf("--========== \e[1mInitialization\e[0m ============--\n");
|
printf("--========== \e[1mInitialization\e[0m ============--\n");
|
||||||
#ifdef CSR_ETHMAC_BASE
|
#ifdef CSR_ETHMAC_BASE
|
||||||
eth_init();
|
eth_init();
|
||||||
|
@ -159,11 +159,11 @@ int main(int i, char **c)
|
||||||
#endif
|
#endif
|
||||||
if (sdr_ok != 1)
|
if (sdr_ok != 1)
|
||||||
printf("Memory initialization failed\n");
|
printf("Memory initialization failed\n");
|
||||||
printf("\n");
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef CSR_SPIFLASH_MMAP_BASE
|
#ifdef CSR_SPIFLASH_MMAP_BASE
|
||||||
spiflash_init();
|
spiflash_init();
|
||||||
#endif
|
#endif
|
||||||
|
printf("\n");
|
||||||
|
|
||||||
#ifdef CSR_VIDEO_FRAMEBUFFER_BASE
|
#ifdef CSR_VIDEO_FRAMEBUFFER_BASE
|
||||||
/* Initialize Video Framebuffer FIXME: Move */
|
/* Initialize Video Framebuffer FIXME: Move */
|
||||||
|
|
Loading…
Reference in New Issue