summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-05-09 21:15:13 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-05-09 21:15:13 +0000
commit3d5bb236aa6147ce24d9618f2d482e76eefc58c6 (patch)
treee6769779f4f549224c3c39704a4fa98b12c335a4 /src/northbridge/amd
parentbf9e5384d7c25be41d008d29c38b24155676acc0 (diff)
Move includes to where they are needed. This allows to simplify
romstage.c files in mainboards. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5539 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r--src/northbridge/amd/amdht/ht_wrapper.c3
-rw-r--r--src/northbridge/amd/amdmct/mct/mctmtr_d.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdht/ht_wrapper.c b/src/northbridge/amd/amdht/ht_wrapper.c
index f02ce44f80..38733c9863 100644
--- a/src/northbridge/amd/amdht/ht_wrapper.c
+++ b/src/northbridge/amd/amdht/ht_wrapper.c
@@ -17,6 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <cpu/x86/msr.h>
+#include <console/console.h>
+#include <northbridge/amd/amdfam10/amdfam10.h>
/*----------------------------------------------------------------------------
* TYPEDEFS, DEFINITIONS AND MACROS
diff --git a/src/northbridge/amd/amdmct/mct/mctmtr_d.c b/src/northbridge/amd/amdmct/mct/mctmtr_d.c
index 76cf9806af..64500f0d58 100644
--- a/src/northbridge/amd/amdmct/mct/mctmtr_d.c
+++ b/src/northbridge/amd/amdmct/mct/mctmtr_d.c
@@ -19,6 +19,7 @@
#include "mct_d.h"
+#include <cpu/amd/mtrr.h>
static void SetMTRRrangeWB_D(u32 Base, u32 *pLimit, u32 *pMtrrAddr);
static void SetMTRRrange_D(u32 Base, u32 *pLimit, u32 *pMtrrAddr, u16 MtrrType);