[coreboot-gerrit] Patch set updated for coreboot: 9bd0675 southbridge/intel/fsp_rangeley: Fix missing entry-point prototype

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Mon Dec 8 10:40:58 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7697

-gerrit

commit 9bd0675635a523e1ef10011f6cb1fbc14113f64a
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Mon Dec 8 05:45:05 2014 +1100

    southbridge/intel/fsp_rangeley: Fix missing entry-point prototype
    
    In '-ffreestanding' main() is just as any other function and so
    it needs a type-signature. Fixes a clang warning.
    
    Change-Id: I59eff28d77bd2a7f0c598c5846240344b7cec4d4
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/southbridge/intel/fsp_rangeley/romstage.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/southbridge/intel/fsp_rangeley/romstage.c b/src/southbridge/intel/fsp_rangeley/romstage.c
index fd8b3b2..2174a60 100644
--- a/src/southbridge/intel/fsp_rangeley/romstage.c
+++ b/src/southbridge/intel/fsp_rangeley/romstage.c
@@ -39,6 +39,7 @@
 #include <cpu/x86/msr.h>
 #include "gpio.h"
 
+void main(FSP_INFO_HEADER *fsp_info_header); // XXX: find a better place
 void main(FSP_INFO_HEADER *fsp_info_header)
 {
 	uint32_t fd_mask = 0;



More information about the coreboot-gerrit mailing list