software/bios/main: Generate Initialization banner for SPIFlash.

This commit is contained in:
Florent Kermarrec 2021-07-28 10:37:37 +02:00
parent 8415e5d6ac
commit 14d60661b9
1 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ int main(int i, char **c)
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");
#ifdef CSR_ETHMAC_BASE
eth_init();
@ -159,11 +159,11 @@ int main(int i, char **c)
#endif
if (sdr_ok != 1)
printf("Memory initialization failed\n");
printf("\n");
#endif
#ifdef CSR_SPIFLASH_MMAP_BASE
spiflash_init();
#endif
printf("\n");
#ifdef CSR_VIDEO_FRAMEBUFFER_BASE
/* Initialize Video Framebuffer FIXME: Move */