From: Carl-Daniel Hailfinger Date: Mon, 20 Apr 2009 12:02:25 +0000 (+0000) Subject: Fix implicit declarations of done_cache_as_ram_main by adding a X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=dbda3a9919a21ccdf5b9bbf6562598f5edbc11e4;p=coreboot.git Fix implicit declarations of done_cache_as_ram_main by adding a prototype for these assembler functions. Affected boards: digitallogic/msm800sev pcengines/alix1c Signed-off-by: Carl-Daniel Hailfinger Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4140 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- diff --git a/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c b/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c index 6842f09a1..e9dc8aec7 100644 --- a/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c +++ b/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c @@ -114,5 +114,6 @@ void cache_as_ram_main(void) /* 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(); } diff --git a/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c b/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c index a05e50a4d..e7a680cd4 100644 --- a/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c +++ b/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c @@ -206,5 +206,6 @@ void cache_as_ram_main(void) * 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(); }