mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/software/bios: show cpu on first banner line
This commit is contained in:
parent
76bb0ef456
commit
849434c1bd
1 changed files with 12 additions and 11 deletions
|
@ -544,19 +544,20 @@ int main(int i, char **c)
|
||||||
irq_setmask(0);
|
irq_setmask(0);
|
||||||
irq_setie(1);
|
irq_setie(1);
|
||||||
uart_init();
|
uart_init();
|
||||||
puts("\nLiteX SoC BIOS\n"
|
printf("\nLiteX SoC BIOS ");
|
||||||
"(c) Copyright 2012-2015 Enjoy-Digital\n"
|
#ifdef __lm32__
|
||||||
|
printf("(lm32)\n");
|
||||||
|
#elif __or1k__
|
||||||
|
printf("(or1k)\n");
|
||||||
|
#elif __riscv__
|
||||||
|
printf("(riscv)\n");
|
||||||
|
#else
|
||||||
|
printf("(unknown)\n");
|
||||||
|
#endif
|
||||||
|
puts(
|
||||||
|
"(c) Copyright 2012-2016 Enjoy-Digital\n"
|
||||||
"(c) Copyright 2007-2015 M-Labs Limited\n"
|
"(c) Copyright 2007-2015 M-Labs Limited\n"
|
||||||
"Built "__DATE__" "__TIME__"\n");
|
"Built "__DATE__" "__TIME__"\n");
|
||||||
#ifdef __lm32__
|
|
||||||
printf("Running on lm32.\n");
|
|
||||||
#elif __or1k__
|
|
||||||
printf("Running on or1k.\n");
|
|
||||||
#elif __riscv__
|
|
||||||
printf("Running on riscv.\n");
|
|
||||||
#else
|
|
||||||
printf("Running on unknown architecture.\n");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
crcbios();
|
crcbios();
|
||||||
#ifdef CSR_ETHMAC_BASE
|
#ifdef CSR_ETHMAC_BASE
|
||||||
|
|
Loading…
Reference in a new issue