Author: hailfinger
Date: 2009-04-20 14:02:25 +0200 (Mon, 20 Apr 2009)
New Revision: 4140

Modified:
   trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c
   trunk/coreboot-v2/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c
Log:
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 <[email protected]>
Acked-by: Peter Stuge <[email protected]>


Modified: 
trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c
===================================================================
--- trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c  
2009-04-19 23:24:26 UTC (rev 4139)
+++ trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/cache_as_ram_auto.c  
2009-04-20 12:02:25 UTC (rev 4140)
@@ -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();
 }

Modified: trunk/coreboot-v2/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c
===================================================================
--- trunk/coreboot-v2/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c        
2009-04-19 23:24:26 UTC (rev 4139)
+++ trunk/coreboot-v2/src/mainboard/pcengines/alix1c/cache_as_ram_auto.c        
2009-04-20 12:02:25 UTC (rev 4140)
@@ -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();
 }


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to