mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: soc/intel/quark: Add bootblock_c_entry
Add the bootblock_c_entry routine to make it more explicit where the code transitions from assembler to C. TEST=Build and run on Galileo Gen2 BUG=None BRANCH=None Change-Id: I8c1f397fcdfee1c244ceaac3794881d4d7fb2182 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/16064 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-on: https://chromium-review.googlesource.com/368406 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
a13af7204c
commit
853295a7f1
2 changed files with 6 additions and 1 deletions
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue