summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/haswell/raminit.c7
-rw-r--r--src/northbridge/intel/sandybridge/raminit.c6
2 files changed, 2 insertions, 11 deletions
diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c
index 1e020f95b5..4138c5f572 100644
--- a/src/northbridge/intel/haswell/raminit.c
+++ b/src/northbridge/intel/haswell/raminit.c
@@ -18,6 +18,7 @@
*/
#include <console/console.h>
+#include <bootmode.h>
#include <string.h>
#include <arch/hlt.h>
#include <arch/io.h>
@@ -31,12 +32,6 @@
#include "pei_data.h"
#include "haswell.h"
-#if CONFIG_CHROMEOS
-#include <vendorcode/google/chromeos/chromeos.h>
-#else
-#define recovery_mode_enabled(x) 0
-#endif
-
void save_mrc_data(struct pei_data *pei_data)
{
struct mrc_data_container *mrcdata;
diff --git a/src/northbridge/intel/sandybridge/raminit.c b/src/northbridge/intel/sandybridge/raminit.c
index 61e15450f0..5384996e6d 100644
--- a/src/northbridge/intel/sandybridge/raminit.c
+++ b/src/northbridge/intel/sandybridge/raminit.c
@@ -19,6 +19,7 @@
#include <console/console.h>
#include <console/usb.h>
+#include <bootmode.h>
#include <string.h>
#include <arch/hlt.h>
#include <arch/io.h>
@@ -34,11 +35,6 @@
/* Management Engine is in the southbridge */
#include "southbridge/intel/bd82x6x/me.h"
-#if CONFIG_CHROMEOS
-#include <vendorcode/google/chromeos/chromeos.h>
-#else
-#define recovery_mode_enabled(x) 0
-#endif
/*
* MRC scrambler seed offsets should be reserved in