From dbda3a9919a21ccdf5b9bbf6562598f5edbc11e4 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 20 Apr 2009 12:02:25 +0000 Subject: 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 --- src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c | 1 + src/mainboard/pcengines/alix1c/cache_as_ram_auto.c | 1 + 2 files changed, 2 insertions(+) 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(); } -- cgit v1.2.3