aboutsummaryrefslogtreecommitdiff
path: root/test/dm/acpi.c
diff options
context:
space:
mode:
authorPali Rohár2021-08-02 15:18:38 +0200
committerTom Rini2021-09-17 12:10:44 -0400
commit121a165c51cd281e61c9d45c3919608af42ca9cd (patch)
tree3ee694f9c5342307b1bbb4123276a5eeff77d57f /test/dm/acpi.c
parentbc21ccbaaa7dda32ec6250cac5f9c9e47e5b629a (diff)
Remove including timestamp.h in version.h
Header file version.h does not use anything from timestamp.h. Including of timestamp.h has side effect which cause recompiling object file at every make run because timestamp.h changes at every run. So remove timestamp.h from version.h and include timestamp.h in files which needs it. This change reduce recompilation time of final U-Boot binary when U-Boot source files were not changed as less source files needs to be recompiled. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Add in lib/acpi/acpi_table.c and test/dm/acpi.c, rework a few others] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/dm/acpi.c')
-rw-r--r--test/dm/acpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dm/acpi.c b/test/dm/acpi.c
index 2edab7be544..6f0025814ed 100644
--- a/test/dm/acpi.c
+++ b/test/dm/acpi.c
@@ -11,6 +11,7 @@
#include <dm.h>
#include <malloc.h>
#include <mapmem.h>
+#include <timestamp.h>
#include <version.h>
#include <tables_csum.h>
#include <version.h>