From 215421ca610a64b8ec188c96ea8588ae2de41fb7 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Mon, 11 Nov 2019 16:40:34 -0800 Subject: [PATCH] lib: Remove date and time from init message Building the date and time into the binary means the OpenSBI isn't reproducible. We don't really need the time so let's remove it. Signed-off-by: Alistair Francis Reviewed-by: Anup Patel --- lib/sbi/sbi_init.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c index e1acb579..265bb025 100644 --- a/lib/sbi/sbi_init.c +++ b/lib/sbi/sbi_init.c @@ -35,11 +35,10 @@ static void sbi_boot_prints(struct sbi_scratch *scratch, u32 hartid) misa_string(str, sizeof(str)); #ifdef OPENSBI_VERSION_GIT - sbi_printf("\nOpenSBI %s (%s %s)\n", OPENSBI_VERSION_GIT, - __DATE__, __TIME__); + sbi_printf("\nOpenSBI %s\n", OPENSBI_VERSION_GIT); #else - sbi_printf("\nOpenSBI v%d.%d (%s %s)\n", OPENSBI_VERSION_MAJOR, - OPENSBI_VERSION_MINOR, __DATE__, __TIME__); + sbi_printf("\nOpenSBI v%d.%d\n", OPENSBI_VERSION_MAJOR, + OPENSBI_VERSION_MINOR); #endif sbi_printf(BANNER);