summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-04-20 12:02:25 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-04-20 12:02:25 +0000
commitdbda3a9919a21ccdf5b9bbf6562598f5edbc11e4 (patch)
treeda248238482b99addb3bec63e669be3455096611
parentf5f0c69628a23171079445aeb21ee39b7d1a4d92 (diff)
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 <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
-rw-r--r--src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c1
-rw-r--r--src/mainboard/pcengines/alix1c/cache_as_ram_auto.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c b/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c
index 6842f09a17..e9dc8aec76 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 a05e50a4d8..e7a680cd4d 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();
}