summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdmct
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-04-05 18:11:19 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-04-23 10:01:21 +0000
commit351e3e520ba71b4aafaf930af37f78b71c1d7251 (patch)
treeeb872d8fb0aaefad7b313e9dd5e31fe1e7cf3242 /src/northbridge/amd/amdmct
parent20eaef024cb06677de10d018e6f70c28d1841290 (diff)
src: Use include <console/console.h> when appropriate
Change-Id: Iddba5b03fc554a6edc4b26458d834e47958a6b08 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32214 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: David Guckian
Diffstat (limited to 'src/northbridge/amd/amdmct')
-rw-r--r--src/northbridge/amd/amdmct/mct/mct_d.h4
-rw-r--r--src/northbridge/amd/amdmct/mct/mctsrc.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/northbridge/amd/amdmct/mct/mct_d.h b/src/northbridge/amd/amdmct/mct/mct_d.h
index 5d31d44428..14da928719 100644
--- a/src/northbridge/amd/amdmct/mct/mct_d.h
+++ b/src/northbridge/amd/amdmct/mct/mct_d.h
@@ -23,11 +23,11 @@
#define DQS_TRAIN_DEBUG 0
#include <inttypes.h>
-#include "mct_d_gcc.h"
-#include <console/console.h>
#include <northbridge/amd/amdfam10/debug.h>
#include <northbridge/amd/amdfam10/raminit.h>
+#include "mct_d_gcc.h"
+
extern const u8 Table_DQSRcvEn_Offset[];
extern const u32 TestPattern0_D[];
extern const u32 TestPattern1_D[];
diff --git a/src/northbridge/amd/amdmct/mct/mctsrc.c b/src/northbridge/amd/amdmct/mct/mctsrc.c
index 4689c7b982..649c1c85c2 100644
--- a/src/northbridge/amd/amdmct/mct/mctsrc.c
+++ b/src/northbridge/amd/amdmct/mct/mctsrc.c
@@ -14,8 +14,10 @@
* GNU General Public License for more details.
*/
+#include <console/console.h>
#include <cpu/x86/cr.h>
#include <cpu/amd/msr.h>
+
#include "mct_d.h"
/******************************************************************************