diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-02-10 23:15:07 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-02-11 23:29:08 +0100 |
commit | 622eea7e815af39dbee290eddc487baab5e8a5f5 (patch) | |
tree | dd45122a65037ae0cefcbd1a39181f8b108a705a /src/soc/intel | |
parent | 711455f24495d1616fff6ec93da11e5f7a863a8b (diff) | |
download | coreboot-622eea7e815af39dbee290eddc487baab5e8a5f5.tar.xz |
arches: lib: add main_decl.h for main() declaration
It is silly to have a single header to declare the main()
symbol, however some of the arches provided it while
lib/bootblock.c relied on the arch headers to declare it. Just
move the declaration into its own header file and utilize it.
Change-Id: I743b4c286956ae047c17fe46241b699feca73628
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/13681
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/apollolake/include/soc/bootblock.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/include/soc/bootblock.h b/src/soc/intel/apollolake/include/soc/bootblock.h index 655188bf62..933c7fecd4 100644 --- a/src/soc/intel/apollolake/include/soc/bootblock.h +++ b/src/soc/intel/apollolake/include/soc/bootblock.h @@ -3,6 +3,4 @@ #include <arch/cpu.h> void asmlinkage bootblock_c_entry(void); -/* provide prototype for lib/bootblock.c main as workaround */ -void main(void); #endif |