summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-06-05 16:46:48 -0700
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-06-12 14:52:17 +0200
commit6c3c31e49d6b53d549de5c815ed9a2f7ab5a3521 (patch)
tree8ad2a7a33ea17a09ee9b3792ca84bb20bdcfb27f /src/include
parent065b683618f8455dcb0bfc271a853d1c88a23734 (diff)
downloadcoreboot-6c3c31e49d6b53d549de5c815ed9a2f7ab5a3521.tar.xz
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 Change-Id: I8be2e079ababb2cf1f9b7e6293f93e7c778761a1 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/15124 Tested-by: build bot (Jenkins) Reviewed-by: Lee Leahy <lpleahyjr@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/bootblock_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/bootblock_common.h b/src/include/bootblock_common.h
index 0985241590..04fc0cbfd5 100644
--- a/src/include/bootblock_common.h
+++ b/src/include/bootblock_common.h
@@ -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