summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-14 14:50:19 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2011-10-15 12:27:52 +0200
commit2d172993953ae777aaec13efddfe6ed91209bd02 (patch)
tree13235af96c22f22414efd59d2902f31fbb643414 /src
parentf830752c87095e7e5711aed9f13e30477182a4a7 (diff)
cbfs_and_run_core() is not part of the API, make it static.
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)
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/include/arch/stages.h1
-rw-r--r--src/arch/x86/lib/cbfs_and_run.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/x86/include/arch/stages.h b/src/arch/x86/include/arch/stages.h
index 00d2a93ea3..3ddba51783 100644
--- a/src/arch/x86/include/arch/stages.h
+++ b/src/arch/x86/include/arch/stages.h
@@ -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
diff --git a/src/arch/x86/lib/cbfs_and_run.c b/src/arch/x86/lib/cbfs_and_run.c
index 5e3d8fe922..ad36ddc030 100644
--- a/src/arch/x86/lib/cbfs_and_run.c
+++ b/src/arch/x86/lib/cbfs_and_run.c
@@ -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;