summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/i945/Makefile.inc1
-rw-r--r--src/northbridge/intel/i945/raminit.c3
-rw-r--r--src/northbridge/intel/i945/rcven.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/northbridge/intel/i945/Makefile.inc b/src/northbridge/intel/i945/Makefile.inc
index 6b176c2552..0e4fcfcb54 100644
--- a/src/northbridge/intel/i945/Makefile.inc
+++ b/src/northbridge/intel/i945/Makefile.inc
@@ -25,6 +25,7 @@ romstage-y += raminit.c
romstage-y += early_init.c
romstage-y += errata.c
romstage-y += debug.c
+romstage-y += rcven.c
smm-y += udelay.c
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c
index f9ba37b17b..cc227cc50e 100644
--- a/src/northbridge/intel/i945/raminit.c
+++ b/src/northbridge/intel/i945/raminit.c
@@ -22,7 +22,6 @@
#include <pc80/mc146818rtc.h>
#include <spd.h>
#include <string.h>
-#include <arch/io.h>
#include <halt.h>
#include <lib.h>
#include "raminit.h"
@@ -2743,8 +2742,6 @@ static void sdram_recover_receive_enable(void)
MCHBAR32(C1DRT1) = reg32;
}
-#include "rcven.c"
-
static void sdram_program_receive_enable(struct sys_info *sysinfo)
{
MCHBAR32(REPC) |= (1 << 0);
diff --git a/src/northbridge/intel/i945/rcven.c b/src/northbridge/intel/i945/rcven.c
index f4d9315ef3..a6aaefa1bf 100644
--- a/src/northbridge/intel/i945/rcven.c
+++ b/src/northbridge/intel/i945/rcven.c
@@ -13,7 +13,10 @@
* GNU General Public License for more details.
*/
+#include <console/console.h>
+#include <arch/io.h>
#include "raminit.h"
+#include "i945.h"
/**
* sample the strobes signal