summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/quark/bootblock/bootblock.c5
-rw-r--r--src/soc/intel/quark/bootblock/esram_init.S2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/soc/intel/quark/bootblock/bootblock.c b/src/soc/intel/quark/bootblock/bootblock.c
index 959084d935..3c90de9636 100644
--- a/src/soc/intel/quark/bootblock/bootblock.c
+++ b/src/soc/intel/quark/bootblock/bootblock.c
@@ -75,6 +75,11 @@ static const struct reg_script mtrr_init[] = {
REG_SCRIPT_END
};
+void asmlinkage bootblock_c_entry(uint64_t base_timestamp)
+{
+ bootblock_main_with_timestamp(base_timestamp);
+}
+
void bootblock_soc_early_init(void)
{
/* Initialize the MTRRs */
diff --git a/src/soc/intel/quark/bootblock/esram_init.S b/src/soc/intel/quark/bootblock/esram_init.S
index f3852c4800..d982cdd2f9 100644
--- a/src/soc/intel/quark/bootblock/esram_init.S
+++ b/src/soc/intel/quark/bootblock/esram_init.S
@@ -534,6 +534,6 @@ before_carstage:
push %ebp
/* We can call into C functions now */
- call bootblock_main_with_timestamp
+ call bootblock_c_entry
/* Never reached */