summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/lx
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2013-06-04 14:30:50 +0200
committerRonald G. Minnich <rminnich@gmail.com>2013-06-04 17:54:56 +0200
commit194ec4d4d567a94297b5c59196530811b0483619 (patch)
treea1011e2e1d4ff27e8f542953605822ebafd7c96a /src/northbridge/amd/lx
parent6f9f785d9bf226fdf65206c4e45315f6e1533545 (diff)
downloadcoreboot-194ec4d4d567a94297b5c59196530811b0483619.tar.xz
AMD Northbridge LX: make GeodeLinkSpeed() function prototype non-static
Change-Id: Id914be1ae4dac96c51f2640f056af4ce58a248eb Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-on: http://review.coreboot.org/3364 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/northbridge/amd/lx')
-rw-r--r--src/northbridge/amd/lx/northbridge.h3
-rw-r--r--src/northbridge/amd/lx/pll_reset.c4
2 files changed, 6 insertions, 1 deletions
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;