From 849434c1bd8cdeed8c163385dff99186a7f45ad8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 19 Apr 2016 09:19:37 +0200 Subject: [PATCH] soc/software/bios: show cpu on first banner line --- litex/soc/software/bios/main.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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 -- 2.30.2