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>
This commit is contained in:
parent
d84e20b33c
commit
5417c84f7d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue