bios/main: Display Flash in SoC capabilities.

This commit is contained in:
Florent Kermarrec 2021-07-29 19:26:01 +02:00
parent 518a3e1f65
commit 6100620634
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ int main(int i, char **c)
#ifdef CONFIG_L2_SIZE #ifdef CONFIG_L2_SIZE
printf("\e[1mL2\e[0m:\t\t%dKiB\n", CONFIG_L2_SIZE/1024); printf("\e[1mL2\e[0m:\t\t%dKiB\n", CONFIG_L2_SIZE/1024);
#endif #endif
#ifdef CSR_SPIFLASH_CORE_BASE
printf("\e[1mFLASH\e[0m:\t\t%dKiB\n", SPIFLASH_MODULE_TOTAL_SIZE/1024);
#endif
#ifdef MAIN_RAM_SIZE #ifdef MAIN_RAM_SIZE
#ifdef CSR_SDRAM_BASE #ifdef CSR_SDRAM_BASE
printf("\e[1mSDRAM\e[0m:\t\t%dKiB %d-bit @ %dMT/s ", printf("\e[1mSDRAM\e[0m:\t\t%dKiB %d-bit @ %dMT/s ",