diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-04-23 22:17:34 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-25 15:55:27 +0000 |
commit | 5417c84f7d525d1db8f4abbf3ef4da527dd52cd6 (patch) | |
tree | a4cf628f46785bb2833f00f191c69d12ddb98a0f /src/soc/cavium/common | |
parent | d84e20b33c9907e671fe44d9955ee5b1540ede80 (diff) |
soc/cavium/common/bootblock: Remove unused variables
Change-Id: I4835ca3e20f2e53598bfc77b633aca946d3fde9c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32431
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/cavium/common')
-rw-r--r-- | src/soc/cavium/common/bootblock.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/soc/cavium/common/bootblock.c b/src/soc/cavium/common/bootblock.c index c3f0866859..0c3b367891 100644 --- a/src/soc/cavium/common/bootblock.c +++ b/src/soc/cavium/common/bootblock.c @@ -34,16 +34,12 @@ __attribute__((weak)) void bootblock_mainboard_init(void) { /* do nothing */ } void bootblock_main(const uint64_t reg_x0, const uint64_t reg_pc) { - uint64_t base_timestamp = 0; init_timer(); - if (CONFIG(COLLECT_TIMESTAMPS)) - base_timestamp = timestamp_get(); - /* Initialize timestamps if we have TIMESTAMP region in memlayout.ld. */ if (CONFIG(COLLECT_TIMESTAMPS) && REGION_SIZE(timestamp) > 0) - timestamp_init(base_timestamp); + timestamp_init(timestamp_get()); bootblock_soc_early_init(); bootblock_mainboard_early_init(); |