UPSTREAM: bootblock: Declare common bootblock_pre_c_entry routine

Enable uses of a common bootblock_pre_c_entry routine. Pass in TSC
value as a uint64_t value.

TEST=Build for amenia and Galileo Gen2

BUG=None
BRANCH=None
TEST=None

Change-Id: I8be2e079ababb2cf1f9b7e6293f93e7c778761a1
Original-Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/15124
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Lee Leahy <lpleahyjr@gmail.com>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/352035
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
Lee Leahy 2016-06-05 16:46:48 -07:00 committed by chrome-bot
commit 9babf5001b
4 changed files with 12 additions and 26 deletions

View file

@ -29,6 +29,12 @@ void bootblock_mainboard_early_init(void);
void bootblock_mainboard_init(void);
void bootblock_soc_early_init(void);
void bootblock_soc_init(void);
/*
* C code entry point for the boot block.
*/
void asmlinkage bootblock_c_entry(uint64_t base_timestamp);
/*
* This is a the same as the bootblock main(), with the difference that it does
* not collect a timestamp. Instead it accepts the first timestamp as an