[coreboot-gerrit] New patch to review for coreboot: 1c69ce6 timestamp: use wrapper macro for romstage static variables
Stefan Reinauer (stefan.reinauer@coreboot.org)
gerrit at coreboot.org
Wed Mar 4 20:23:04 CET 2015
Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8603
-gerrit
commit 1c69ce630a508ed58338c933d33a18603761c3fd
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date: Wed Mar 4 20:20:19 2015 +0100
timestamp: use wrapper macro for romstage static variables
Keeping this up as a reminder that there's a TODO.
Change-Id: Ic567b93f14f96154fe038471767339cc5fbfc767
Original-Signed-off-by: Julius Werner <jwerner at chromium.org>
Signed-off-by: Marc Jones <marc.jones at se-eng.com>
Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
src/lib/timestamp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/timestamp.c b/src/lib/timestamp.c
index 67635f8..844a061 100644
--- a/src/lib/timestamp.c
+++ b/src/lib/timestamp.c
@@ -55,7 +55,7 @@ static void timestamp_real_init(uint64_t base)
void timestamp_add(enum timestamp_id id, uint64_t ts_time)
{
struct timestamp_entry *tse;
- struct timestamp_table *ts_table = NULL;
+ MAYBE_STATIC struct timestamp_table *ts_table = NULL;
if (!boot_cpu())
return;
More information about the coreboot-gerrit
mailing list