[coreboot] [PATCH] Fix implicit declarations
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Mon Apr 20 11:34:52 CEST 2009
Fix implicit declarations of done_cache_as_ram_main by adding a
prototype for these assembler functions.
Affected boards:
digitallogic/msm800sev
pcengines/alix1c
With this patch, there are no more compile errors in the tree.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Index: coreboot-v2-fix_implicit_declarations/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c
===================================================================
--- coreboot-v2-fix_implicit_declarations/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c (revision 4122)
+++ coreboot-v2-fix_implicit_declarations/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c (working copy)
@@ -114,5 +114,6 @@
/* we are finding the return does not work on this board. Explicitly call the label that is
* after the call to us. This is gross, but sometimes at this level it is the only way out
*/
+ void done_cache_as_ram_main(void);
done_cache_as_ram_main();
}
Index: coreboot-v2-fix_implicit_declarations/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c
===================================================================
--- coreboot-v2-fix_implicit_declarations/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c (revision 4122)
+++ coreboot-v2-fix_implicit_declarations/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c (working copy)
@@ -206,5 +206,6 @@
* call the label that is after the call to us. This is gross, but
* sometimes at this level it is the only way out.
*/
+ void done_cache_as_ram_main(void);
done_cache_as_ram_main();
}
--
http://www.hailfinger.org/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: linuxbios_implicit_declarations_alix1c_msm800sev.diff
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090420/4b1810d2/attachment.ksh>
More information about the coreboot
mailing list