diff options
author | Julius Werner <jwerner@chromium.org> | 2018-05-15 17:48:30 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2018-05-22 02:39:11 +0000 |
commit | 12574dd72b7b0e7e59ac1b071d581f78cd8f01ad (patch) | |
tree | 812cce3b7cee495f65524a60943561ec9a9bc8d5 /src/soc/intel | |
parent | 1ca26664e60372cb66104b4c448a442a472f7b8a (diff) |
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 <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/26339
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/apollolake/bootblock/bootblock.c | 2 | ||||
-rw-r--r-- | src/soc/intel/cannonlake/bootblock/bootblock.c | 2 | ||||
-rw-r--r-- | src/soc/intel/denverton_ns/bootblock/bootblock.c | 2 | ||||
-rw-r--r-- | src/soc/intel/quark/bootblock/bootblock.c | 2 | ||||
-rw-r--r-- | src/soc/intel/skylake/bootblock/bootblock.c | 2 |
5 files changed, 5 insertions, 5 deletions
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) |