From 2d172993953ae777aaec13efddfe6ed91209bd02 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 14 Oct 2011 14:50:19 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/273 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- src/arch/x86/include/arch/stages.h | 1 - src/arch/x86/lib/cbfs_and_run.c | 2 +- 2 files changed, 1 insertion(+), 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 #include -void cbfs_and_run_core(const char *filename, unsigned ebp) +static void cbfs_and_run_core(const char *filename, unsigned ebp) { u8 *dst; -- cgit v1.2.3