From 32989c17b66e81bd895f7812fa068938cee8040c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 18 Nov 2020 22:04:14 +0100 Subject: [PATCH] soc: rename HAS_TIMESTAMP to WITH_BUILD_TIME. --- litex/soc/integration/soc.py | 2 +- litex/soc/software/bios/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index f5c004b94..28b02237a 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -1061,7 +1061,7 @@ class LiteXSoC(SoC): self.check_if_exists(name) if with_build_time: identifier += " " + build_time() - self.add_config("HAS_TIMESTAMP") + self.add_config("WITH_BUILD_TIME") setattr(self.submodules, name, Identifier(identifier)) self.csr.add(name + "_mem", use_loc_if_exists=True) diff --git a/litex/soc/software/bios/main.c b/litex/soc/software/bios/main.c index cca7399b2..0ffb03bdf 100644 --- a/litex/soc/software/bios/main.c +++ b/litex/soc/software/bios/main.c @@ -97,7 +97,7 @@ int main(int i, char **c) printf(" (c) Copyright 2012-2020 Enjoy-Digital\n"); printf(" (c) Copyright 2007-2015 M-Labs\n"); printf("\n"); -#ifdef CONFIG_HAS_TIMESTAMP +#ifdef CONFIG_WITH_BUILD_TIME printf(" BIOS built on "__DATE__" "__TIME__"\n"); #endif crcbios();