[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:28:50 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 99d87e16fcccf61b95e418e6777db2bd4f5dea7f
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