soc: rename HAS_TIMESTAMP to WITH_BUILD_TIME.

This commit is contained in:
Florent Kermarrec 2020-11-18 22:04:14 +01:00
parent 1ac34bf5bf
commit 32989c17b6
2 changed files with 2 additions and 2 deletions

View File

@ -1061,7 +1061,7 @@ class LiteXSoC(SoC):
self.check_if_exists(name) self.check_if_exists(name)
if with_build_time: if with_build_time:
identifier += " " + build_time() identifier += " " + build_time()
self.add_config("HAS_TIMESTAMP") self.add_config("WITH_BUILD_TIME")
setattr(self.submodules, name, Identifier(identifier)) setattr(self.submodules, name, Identifier(identifier))
self.csr.add(name + "_mem", use_loc_if_exists=True) self.csr.add(name + "_mem", use_loc_if_exists=True)

View File

@ -97,7 +97,7 @@ int main(int i, char **c)
printf(" (c) Copyright 2012-2020 Enjoy-Digital\n"); printf(" (c) Copyright 2012-2020 Enjoy-Digital\n");
printf(" (c) Copyright 2007-2015 M-Labs\n"); printf(" (c) Copyright 2007-2015 M-Labs\n");
printf("\n"); printf("\n");
#ifdef CONFIG_HAS_TIMESTAMP #ifdef CONFIG_WITH_BUILD_TIME
printf(" BIOS built on "__DATE__" "__TIME__"\n"); printf(" BIOS built on "__DATE__" "__TIME__"\n");
#endif #endif
crcbios(); crcbios();