summaryrefslogtreecommitdiff
path: root/lib/sbi
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2019-11-12 03:40:34 +0300
committerAnup Patel <anup@brainfault.org>2019-11-15 15:12:55 +0300
commit215421ca610a64b8ec188c96ea8588ae2de41fb7 (patch)
tree750656a6d508618d9ac8b93a0544a4cc4a40911f /lib/sbi
parent7a13beb213266cbf6f15ddbbef5bfca274086bd3 (diff)
downloadopensbi-215421ca610a64b8ec188c96ea8588ae2de41fb7.tar.xz
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 <alistair.francis@wdc.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'lib/sbi')
-rw-r--r--lib/sbi/sbi_init.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c
index e1acb57..265bb02 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);