summaryrefslogtreecommitdiff
path: root/bl32
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2014-02-17 12:18:24 +0000
committerDan Handley <dan.handley@arm.com>2014-03-05 16:21:14 +0000
commitfb05246201a2d708fb4f3d5febf47e1fc931fa7e (patch)
treec233476c8c9ff2442d58a5f1d18184fa12c16a99 /bl32
parent38aa76a87f6cc3e955fabe181e121fe26a4ecd63 (diff)
Generate build time and date message at link time.
So it updates each time a bootloader changes, not just when bl*_main.c files are recompiled. Fixes ARM-software/tf-issues#33 Change-Id: Ie8e1a7bd7e1913d2e96ac268606284f76af8c5ab Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'bl32')
-rw-r--r--bl32/tsp/tsp_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bl32/tsp/tsp_main.c b/bl32/tsp/tsp_main.c
index 05907f5c..366aef09 100644
--- a/bl32/tsp/tsp_main.c
+++ b/bl32/tsp/tsp_main.c
@@ -121,9 +121,7 @@ uint64_t tsp_main(void)
tsp_stats[linear_id].cpu_on_count++;
spin_lock(&console_lock);
-#if defined (__GNUC__)
- printf("TSP Built : %s, %s\n\r", __TIME__, __DATE__);
-#endif
+ printf("TSP %s\n\r", build_message);
INFO("Total memory base : 0x%x\n", mem_layout->total_base);
INFO("Total memory size : 0x%x bytes\n", mem_layout->total_size);
INFO("Free memory base : 0x%x\n", mem_layout->free_base);