diff options
author | Pali Rohár <pali@kernel.org> | 2021-08-02 15:18:36 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-16 14:39:40 -0400 |
commit | 1bde72f7f6120a7c688ce1f010ebea709862cd59 (patch) | |
tree | 64b49d0cf3bb18833655bcd2bc8f485265bc674a | |
parent | 22a862c71018da5b52da6d9da067703b99f26e2b (diff) | |
download | u-boot-1bde72f7f6120a7c688ce1f010ebea709862cd59.zip u-boot-1bde72f7f6120a7c688ce1f010ebea709862cd59.tar.gz u-boot-1bde72f7f6120a7c688ce1f010ebea709862cd59.tar.bz2 |
x86: quark: MRC: Remove U_BOOT_DATE and U_BOOT_TIME from debug log
U_BOOT_DATE and U_BOOT_TIME are updated on every run of make command.
Therefore mrc.c file is recompiled every time when running make which means
that whole U-Boot binary is recompiled on every run of make command.
Simplify it and do not recompile U-Boot binary on every run of make command
by not depending on macros U_BOOT_DATE and U_BOOT_TIME.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r-- | arch/x86/cpu/quark/mrc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/cpu/quark/mrc.c b/arch/x86/cpu/quark/mrc.c index 3e8c0bc..ce3c2b8 100644 --- a/arch/x86/cpu/quark/mrc.c +++ b/arch/x86/cpu/quark/mrc.c @@ -33,7 +33,6 @@ */ #include <common.h> -#include <version.h> #include <asm/arch/mrc.h> #include <asm/arch/msg_port.h> #include "mrc_util.h" @@ -191,8 +190,7 @@ void mrc_init(struct mrc_params *mrc_params) { ENTERFN(); - DPF(D_INFO, "MRC Version %04x %s %s\n", MRC_VERSION, - U_BOOT_DATE, U_BOOT_TIME); + DPF(D_INFO, "MRC Version %04x\n", MRC_VERSION); /* Set up the data structures used by mrc_mem_init() */ mrc_adjust_params(mrc_params); |