From: Florent Kermarrec Date: Tue, 19 Apr 2016 07:19:37 +0000 (+0200) Subject: soc/software/bios: show cpu on first banner line X-Git-Tag: 24jan2021_ls180~1969 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=849434c1bd8cdeed8c163385dff99186a7f45ad8;p=litex.git soc/software/bios: show cpu on first banner line --- diff --git a/litex/soc/software/bios/main.c b/litex/soc/software/bios/main.c index 11147f4b..8c5959ce 100644 --- a/litex/soc/software/bios/main.c +++ b/litex/soc/software/bios/main.c @@ -544,19 +544,20 @@ int main(int i, char **c) irq_setmask(0); irq_setie(1); uart_init(); - puts("\nLiteX SoC BIOS\n" - "(c) Copyright 2012-2015 Enjoy-Digital\n" - "(c) Copyright 2007-2015 M-Labs Limited\n" - "Built "__DATE__" "__TIME__"\n"); + printf("\nLiteX SoC BIOS "); #ifdef __lm32__ - printf("Running on lm32.\n"); + printf("(lm32)\n"); #elif __or1k__ - printf("Running on or1k.\n"); + printf("(or1k)\n"); #elif __riscv__ - printf("Running on riscv.\n"); + printf("(riscv)\n"); #else - printf("Running on unknown architecture.\n"); + printf("(unknown)\n"); #endif + puts( + "(c) Copyright 2012-2016 Enjoy-Digital\n" + "(c) Copyright 2007-2015 M-Labs Limited\n" + "Built "__DATE__" "__TIME__"\n"); crcbios(); #ifdef CSR_ETHMAC_BASE