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

Alexandru Gagniuc (mr.nuke.me@gmail.com) gerrit at coreboot.org
Thu Jan 21 23:18:36 CET 2016


Alexandru Gagniuc (mr.nuke.me at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13120

-gerrit

commit 065b211f45900b36fc863c2164404143e4c2b80b
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 form arch-specific headers.
    Note that we cannot, at this point, remove the prototype from the
    arch-specific headers, as they are needed for other stages, but this
    is fine for now, as the 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