From 13a500a404083c250e28816a394ee8d2849f4028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 4 Jun 2018 08:01:09 +0300 Subject: amd/geode_lx: Fix .c includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2cce52561d30e30e1c81752cd2a455e7211006eb Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26825 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Piotr Król --- src/northbridge/amd/lx/Makefile.inc | 1 + src/northbridge/amd/lx/northbridge.h | 6 ++++-- src/northbridge/amd/lx/pll_reset.c | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'src/northbridge/amd/lx') diff --git a/src/northbridge/amd/lx/Makefile.inc b/src/northbridge/amd/lx/Makefile.inc index 190c0598e4..e36139ff6d 100644 --- a/src/northbridge/amd/lx/Makefile.inc +++ b/src/northbridge/amd/lx/Makefile.inc @@ -6,5 +6,6 @@ ramstage-y += grphinit.c romstage-y += raminit.c romstage-y += generic_sdram.c +romstage-y += pll_reset.c endif diff --git a/src/northbridge/amd/lx/northbridge.h b/src/northbridge/amd/lx/northbridge.h index 9a4ff29664..51c2c14e75 100644 --- a/src/northbridge/amd/lx/northbridge.h +++ b/src/northbridge/amd/lx/northbridge.h @@ -16,8 +16,6 @@ #ifndef NORTHBRIDGE_AMD_LX_H #define NORTHBRIDGE_AMD_LX_H -#include - /* northbridge.c */ int sizeram(void); @@ -26,4 +24,8 @@ void northbridge_init_early(void); /* pll_reset.c */ unsigned int GeodeLinkSpeed(void); +void lx_pll_reset(void); + +void lx_msr_init(void); + #endif diff --git a/src/northbridge/amd/lx/pll_reset.c b/src/northbridge/amd/lx/pll_reset.c index d98a8ea1b6..cb332ead12 100644 --- a/src/northbridge/amd/lx/pll_reset.c +++ b/src/northbridge/amd/lx/pll_reset.c @@ -14,9 +14,12 @@ * GNU General Public License for more details. */ +#include +#include +#include #include "northbridge.h" -static void pll_reset(void) +void lx_pll_reset(void) { msr_t msrGlcpSysRstpll; -- cgit v1.2.3