diff options
| author | Alistair Francis <[email protected]> | 2019-11-11 16:40:34 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2019-11-15 17:42:55 +0530 |
| commit | 215421ca610a64b8ec188c96ea8588ae2de41fb7 (patch) | |
| tree | 750656a6d508618d9ac8b93a0544a4cc4a40911f /lib | |
| parent | 7a13beb213266cbf6f15ddbbef5bfca274086bd3 (diff) | |
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 <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sbi/sbi_init.c | 7 |
1 files 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); |
