[coreboot-gerrit] Patch set updated for coreboot: include/bootblock_common.h: Provide common prototype for main()

Aaron Durbin (adurbin@chromium.org) gerrit at coreboot.org
Thu Feb 11 05:32:56 CET 2016


Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13120

-gerrit

commit 803f2c4af4b800c5ff1bcc36afb1cbaf71140f95
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date:   Thu Jan 21 13:28:43 2016 -0800

    include/bootblock_common.h: Provide common prototype for main()
    
    For the common bootblock, main() is implemented in lib/, but the
    prototype for main() was available from arch-specific headers.
    Note that we cannot remove the prototype from the arch-specific
    headers at this point, as they are needed for other stages. This is
    not currently an issue, since the main() signatures are identical.
    
    Change-Id: I436b830538cc3d9a079859bfb560fb2bad9b842a
    Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
---
 src/include/bootblock_common.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/include/bootblock_common.h b/src/include/bootblock_common.h
index 1acbef4..0f7dfae 100644
--- a/src/include/bootblock_common.h
+++ b/src/include/bootblock_common.h
@@ -16,6 +16,9 @@
 #ifndef __BOOTBLOCK_COMMON_H
 #define __BOOTBLOCK_COMMON_H
 
+/* The bootblock main() function */
+void main(void);
+
 /* These are defined as weak no-ops that can be overridden by mainboard/SoC. */
 void bootblock_mainboard_early_init(void);
 void bootblock_mainboard_init(void);



More information about the coreboot-gerrit mailing list