diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-04 08:01:09 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-05 12:44:43 +0000 |
commit | 13a500a404083c250e28816a394ee8d2849f4028 (patch) | |
tree | 48ddf3d66501baa91c6aad76a1f1857185e260f1 /src/northbridge | |
parent | 64aa881263fa3fdec827a3f7adf04b138ab82ff1 (diff) |
amd/geode_lx: Fix .c includes
Change-Id: I2cce52561d30e30e1c81752cd2a455e7211006eb
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/26825
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Piotr Król <piotr.krol@3mdeb.com>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/amd/lx/Makefile.inc | 1 | ||||
-rw-r--r-- | src/northbridge/amd/lx/northbridge.h | 6 | ||||
-rw-r--r-- | src/northbridge/amd/lx/pll_reset.c | 5 |
3 files changed, 9 insertions, 3 deletions
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 <cpu/amd/lxdef.h> - /* 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 <console/console.h> +#include <cpu/x86/msr.h> +#include <cpu/amd/lxdef.h> #include "northbridge.h" -static void pll_reset(void) +void lx_pll_reset(void) { msr_t msrGlcpSysRstpll; |