[coreboot-gerrit] New patch to review for coreboot: 9abded1 AMD Northbridge LX: make GeodeLinkSpeed() function prototype non-static
Christian Gmeiner (christian.gmeiner@gmail.com)
gerrit at coreboot.org
Tue Jun 4 14:10:33 CEST 2013
Christian Gmeiner (christian.gmeiner at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3364
-gerrit
commit 9abded17da75b2f1b56650d8e3f80accf9073797
Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date: Tue Jun 4 14:30:50 2013 +0200
AMD Northbridge LX: make GeodeLinkSpeed() function prototype non-static
Change-Id: Id914be1ae4dac96c51f2640f056af4ce58a248eb
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
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 63f54f1..078dcf3 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 cae65ec..5cae84f 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;
More information about the coreboot-gerrit
mailing list