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@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(); }