mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bios: Print CPU architecture on boot.
This commit is contained in:
parent
e0e56e3655
commit
8998ae5c92
1 changed files with 10 additions and 0 deletions
|
@ -548,6 +548,16 @@ int main(int i, char **c)
|
|||
"(c) Copyright 2012-2015 Enjoy-Digital\n"
|
||||
"(c) Copyright 2007-2015 M-Labs Limited\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();
|
||||
#ifdef CSR_ETHMAC_BASE
|
||||
eth_init();
|
||||
|
|
Loading…
Reference in a new issue