soc/software/bios: show cpu on first banner line
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 19 Apr 2016 07:19:37 +0000 (09:19 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 19 Apr 2016 07:19:37 +0000 (09:19 +0200)
litex/soc/software/bios/main.c

index 11147f4b739c61486a0268582ba2eef19e661da2..8c5959ce721c8cfca7fc7b96d006a57f028a22b1 100644 (file)
@@ -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