bios/main: Add CONFIG_BIOS_NO_CRC to disable CRC Check (Useful in simulation).

This commit is contained in:
Florent Kermarrec 2022-05-25 09:16:48 +02:00
parent de6f9e7e83
commit 7028745829
1 changed files with 2 additions and 0 deletions

View File

@ -111,7 +111,9 @@ __attribute__((__used__)) int main(int i, char **c)
#ifndef CONFIG_BIOS_NO_BUILD_TIME #ifndef CONFIG_BIOS_NO_BUILD_TIME
printf(" BIOS built on "__DATE__" "__TIME__"\n"); printf(" BIOS built on "__DATE__" "__TIME__"\n");
#endif #endif
#ifndef CONFIG_BIOS_NO_CRC
crcbios(); crcbios();
#endif
printf("\n"); printf("\n");
printf(" LiteX git sha1: "LITEX_GIT_SHA1"\n"); printf(" LiteX git sha1: "LITEX_GIT_SHA1"\n");
printf("\n"); printf("\n");