From 12574dd72b7b0e7e59ac1b071d581f78cd8f01ad Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Tue, 15 May 2018 17:48:30 -0700 Subject: bootblock: Allow more timestamps in bootblock_main_with_timestamp() This patch adds more parameters to bootblock_main_with_timestamp() to give callers the opportunity to add additional timestamps that were recorded in the platform-specific initialization phase. Change-Id: Idf3a0fcf5aee88a33747afc69e055b95bd38750c Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/26339 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Patrick Georgi --- src/soc/intel/apollolake/bootblock/bootblock.c | 2 +- src/soc/intel/cannonlake/bootblock/bootblock.c | 2 +- src/soc/intel/denverton_ns/bootblock/bootblock.c | 2 +- src/soc/intel/quark/bootblock/bootblock.c | 2 +- src/soc/intel/skylake/bootblock/bootblock.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/soc/intel') diff --git a/src/soc/intel/apollolake/bootblock/bootblock.c b/src/soc/intel/apollolake/bootblock/bootblock.c index 2e51d48ebf..81843a4217 100644 --- a/src/soc/intel/apollolake/bootblock/bootblock.c +++ b/src/soc/intel/apollolake/bootblock/bootblock.c @@ -70,7 +70,7 @@ asmlinkage void bootblock_c_entry(uint64_t base_timestamp) enable_rtc_upper_bank(); /* Call lib/bootblock.c main */ - bootblock_main_with_timestamp(base_timestamp); + bootblock_main_with_timestamp(base_timestamp, NULL, 0); } static void enable_pmcbar(void) diff --git a/src/soc/intel/cannonlake/bootblock/bootblock.c b/src/soc/intel/cannonlake/bootblock/bootblock.c index 9db9a0fc94..b7e77976b0 100644 --- a/src/soc/intel/cannonlake/bootblock/bootblock.c +++ b/src/soc/intel/cannonlake/bootblock/bootblock.c @@ -22,7 +22,7 @@ asmlinkage void bootblock_c_entry(uint64_t base_timestamp) { /* Call lib/bootblock.c main */ - bootblock_main_with_timestamp(base_timestamp); + bootblock_main_with_timestamp(base_timestamp, NULL, 0); } void bootblock_soc_early_init(void) diff --git a/src/soc/intel/denverton_ns/bootblock/bootblock.c b/src/soc/intel/denverton_ns/bootblock/bootblock.c index 6179bf7c21..8b0c356aa0 100644 --- a/src/soc/intel/denverton_ns/bootblock/bootblock.c +++ b/src/soc/intel/denverton_ns/bootblock/bootblock.c @@ -54,7 +54,7 @@ const FSPT_UPD temp_ram_init_params = { asmlinkage void bootblock_c_entry(uint64_t base_timestamp) { /* Call lib/bootblock.c main */ - bootblock_main_with_timestamp(base_timestamp); + bootblock_main_with_timestamp(base_timestamp, NULL, 0); }; void bootblock_soc_early_init(void) diff --git a/src/soc/intel/quark/bootblock/bootblock.c b/src/soc/intel/quark/bootblock/bootblock.c index 2bcc3f0aa2..38730eaabe 100644 --- a/src/soc/intel/quark/bootblock/bootblock.c +++ b/src/soc/intel/quark/bootblock/bootblock.c @@ -82,7 +82,7 @@ asmlinkage void bootblock_c_entry(uint64_t base_timestamp) if (IS_ENABLED(CONFIG_ENABLE_DEBUG_LED_BOOTBLOCK_ENTRY)) light_sd_led(); - bootblock_main_with_timestamp(base_timestamp); + bootblock_main_with_timestamp(base_timestamp, NULL, 0); } void bootblock_soc_early_init(void) diff --git a/src/soc/intel/skylake/bootblock/bootblock.c b/src/soc/intel/skylake/bootblock/bootblock.c index 57b01962a3..1803694132 100644 --- a/src/soc/intel/skylake/bootblock/bootblock.c +++ b/src/soc/intel/skylake/bootblock/bootblock.c @@ -21,7 +21,7 @@ asmlinkage void bootblock_c_entry(uint64_t base_timestamp) { /* Call lib/bootblock.c main */ - bootblock_main_with_timestamp(base_timestamp); + bootblock_main_with_timestamp(base_timestamp, NULL, 0); } void bootblock_soc_early_init(void) -- cgit v1.2.3