cbfs_and_run_core() is not part of the API, make it static.
authorStefan Reinauer <reinauer@chromium.org>
Fri, 14 Oct 2011 21:50:19 +0000 (14:50 -0700)
committerPatrick Georgi <patrick@georgi-clan.de>
Sat, 15 Oct 2011 10:27:52 +0000 (12:27 +0200)
It's only used in cbfs_and_run.c

Change-Id: Ibcfcefbeb0c5722eb3888f0d60127229a2badcf6
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/273
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
src/arch/x86/include/arch/stages.h
src/arch/x86/lib/cbfs_and_run.c

index 00d2a93ea31da53be4104f8dc65273fadfdfa744..3ddba517839806e9e85431a666ad1a4027bb9ba6 100644 (file)
@@ -19,7 +19,6 @@
 
 #ifndef __ARCH_STAGES_H
 #define __ARCH_STAGES_H
-void cbfs_and_run_core(const char *filename, unsigned int ebp);
 void __attribute__((regparm(0))) copy_and_run(unsigned cpu_reset);
 void __attribute__((regparm(0))) copy_and_run_ap_code_in_car(unsigned ret_addr);
 #endif
index 5e3d8fe9227b13b600b75bd07665c69974a91728..ad36ddc03091c53bb330d921540e607a408646b2 100644 (file)
@@ -21,7 +21,7 @@
 #include <cbfs.h>
 #include <arch/stages.h>
 
-void cbfs_and_run_core(const char *filename, unsigned ebp)
+static void cbfs_and_run_core(const char *filename, unsigned ebp)
 {
        u8 *dst;