From d1b0e87179ca42eadbfb36191171e0e8552c1cbe Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 17 Mar 2015 13:17:06 -0500 Subject: loaders: add run_romstage() function to bootblock Provide a common run_romstage() function to be used by bootblocks to load and run romstage. This is similar to run_ramstage() in that it provides a single entry point for doing the necessary work of loading and running romstage. Change-Id: Ia9643cc091f97a836cf5caefdff8df4a3443df4c Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/8709 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- src/include/program_loading.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/include') diff --git a/src/include/program_loading.h b/src/include/program_loading.h index 8ceebc12d4..32f80e1f34 100644 --- a/src/include/program_loading.h +++ b/src/include/program_loading.h @@ -22,6 +22,12 @@ #include #include +/************************ + * ROMSTAGE LOADING * + ************************/ + +/* Run romstage from bootblock. */ +void run_romstage(void); /************************ * RAMSTAGE LOADING * -- cgit v1.2.3