diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-03-17 13:17:06 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2015-03-20 19:27:47 +0100 |
commit | d1b0e87179ca42eadbfb36191171e0e8552c1cbe (patch) | |
tree | 2f246909f2f57e3393c7439b72e4af5ae08a5a89 /src/include/program_loading.h | |
parent | 6bb6a1a79c2ee1bd14b10e7c1fdbca98516d0ef9 (diff) |
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 <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/8709
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include/program_loading.h')
-rw-r--r-- | src/include/program_loading.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stdint.h> #include <stddef.h> +/************************ + * ROMSTAGE LOADING * + ************************/ + +/* Run romstage from bootblock. */ +void run_romstage(void); /************************ * RAMSTAGE LOADING * |