bios/main/sdram: fix speed reporting (Mbps/pin not MHz).

This commit is contained in:
Florent Kermarrec 2020-08-11 22:10:39 +02:00
parent bb7f33434e
commit 0e480dd662
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ int main(int i, char **c)
#endif #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 @ %dMHz\n", printf("\e[1mSDRAM\e[0m:\t\t%dKiB %d-bit @ %dMbps/pin\n",
MAIN_RAM_SIZE/1024, MAIN_RAM_SIZE/1024,
sdrdatabits(), sdrdatabits(),
sdrfreq()/1000000); sdrfreq()/1000000);