From 194ec4d4d567a94297b5c59196530811b0483619 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Tue, 4 Jun 2013 14:30:50 +0200 Subject: [PATCH] AMD Northbridge LX: make GeodeLinkSpeed() function prototype non-static Change-Id: Id914be1ae4dac96c51f2640f056af4ce58a248eb Signed-off-by: Christian Gmeiner Reviewed-on: http://review.coreboot.org/3364 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/northbridge/amd/lx/northbridge.h | 3 +++ src/northbridge/amd/lx/pll_reset.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/northbridge/amd/lx/northbridge.h b/src/northbridge/amd/lx/northbridge.h index 63f54f1d42..078dcf3058 100644 --- a/src/northbridge/amd/lx/northbridge.h +++ b/src/northbridge/amd/lx/northbridge.h @@ -29,4 +29,7 @@ int sizeram(void); /* northbridgeinit.c */ void northbridge_init_early(void); uint32_t get_systop(void); + +/* pll_reset.c */ +unsigned int GeodeLinkSpeed(void); #endif diff --git a/src/northbridge/amd/lx/pll_reset.c b/src/northbridge/amd/lx/pll_reset.c index cae65ec0a2..5cae84f2bb 100644 --- a/src/northbridge/amd/lx/pll_reset.c +++ b/src/northbridge/amd/lx/pll_reset.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "northbridge.h" + static void pll_reset(void) { msr_t msrGlcpSysRstpll; @@ -82,7 +84,7 @@ static unsigned int CPUSpeed(void) } #endif -static unsigned int GeodeLinkSpeed(void) +unsigned int GeodeLinkSpeed(void) { unsigned int speed; msr_t msr;