Fix implicit declarations of done_cache_as_ram_main by adding a
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Mon, 20 Apr 2009 12:02:25 +0000 (12:02 +0000)
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Mon, 20 Apr 2009 12:02:25 +0000 (12:02 +0000)
prototype for these assembler functions.
Affected boards:
digitallogic/msm800sev
pcengines/alix1c

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4140 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c
src/mainboard/pcengines/alix1c/cache_as_ram_auto.c

index 6842f09a17aaabb28e9684ac6cd69617559bd164..e9dc8aec76205533e6587a05b5deda3b2b753819 100644 (file)
@@ -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();
 }
index a05e50a4d8d9382eeec784bb3762a4577509409c..e7a680cd4d4ae45e893b5aea069292d7c7687dfa 100644 (file)
@@ -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();
 }