summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-12 19:25:00 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-01-15 14:56:01 +0100
commit5e73be2a7a6d69cf860afba82b38803c2a792006 (patch)
treeeece1d9a5e3d594666d956adc666d3c1867ac188
parent1b4cbafe1d88a2ae4a4e8a3cfe71adca563f755d (diff)
sandybridge: Allow skipping mrc.cache
On X230 MRC fails if cache is passed to it. Until better solution is found do not create mrc.cache Change-Id: I7e70ebe3c4879e7ab33a9c95a0c9e40408ff5ca4 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4680 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
-rw-r--r--src/northbridge/intel/sandybridge/Kconfig4
-rw-r--r--src/northbridge/intel/sandybridge/Makefile.inc2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/northbridge/intel/sandybridge/Kconfig b/src/northbridge/intel/sandybridge/Kconfig
index 5b6285fcfe..83da527b35 100644
--- a/src/northbridge/intel/sandybridge/Kconfig
+++ b/src/northbridge/intel/sandybridge/Kconfig
@@ -70,6 +70,10 @@ config HAVE_MRC
Note: Without this binary coreboot will not work
+config HAVE_MRC_CACHE
+ bool
+ default HAVE_MRC
+
config MRC_FILE
string "Intel System Agent path and filename"
depends on HAVE_MRC
diff --git a/src/northbridge/intel/sandybridge/Makefile.inc b/src/northbridge/intel/sandybridge/Makefile.inc
index be07e936d8..aa1739a974 100644
--- a/src/northbridge/intel/sandybridge/Makefile.inc
+++ b/src/northbridge/intel/sandybridge/Makefile.inc
@@ -43,7 +43,7 @@ $(obj)/mrc.cache:
bs=$(shell printf "%d" $(CONFIG_MRC_CACHE_SIZE) ) | \
tr '\000' '\377' > $@
-cbfs-files-$(CONFIG_HAVE_MRC) += mrc.cache
+cbfs-files-$(CONFIG_HAVE_MRC_CACHE) += mrc.cache
mrc.cache-file := $(obj)/mrc.cache
mrc.cache-position := 0xfff80000
mrc.cache-type := 0xac