summaryrefslogtreecommitdiff
path: root/arch/x86/cpu
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-10-18 15:55:37 -0600
committerSimon Glass <sjg@chromium.org>2015-10-21 07:46:51 -0600
commit3e45de6ed416759f0f2699d5bb358183dbdb2063 (patch)
tree5e1ca3e7807d8a3735929c642e3ad746dd264ca5 /arch/x86/cpu
parentfd8f4729ac6520e59dd1d3f57d503d8abe345ac5 (diff)
downloadu-boot-imx-3e45de6ed416759f0f2699d5bb358183dbdb2063.zip
u-boot-imx-3e45de6ed416759f0f2699d5bb358183dbdb2063.tar.gz
u-boot-imx-3e45de6ed416759f0f2699d5bb358183dbdb2063.tar.bz2
x86: ivybridge: Enable the MRC cache
This works correctly now, so enable it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Dropped malloc() and adjusted commit message: Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu')
-rw-r--r--arch/x86/cpu/ivybridge/sdram.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/x86/cpu/ivybridge/sdram.c b/arch/x86/cpu/ivybridge/sdram.c
index d9b3dfc..4372a5c 100644
--- a/arch/x86/cpu/ivybridge/sdram.c
+++ b/arch/x86/cpu/ivybridge/sdram.c
@@ -158,14 +158,8 @@ static int prepare_mrc_cache(struct pei_data *pei_data)
if (!mrc_cache)
return -ENOENT;
- /*
- * TODO(sjg@chromium.org): Skip this for now as it causes boot
- * problems
- */
- if (0) {
- pei_data->mrc_input = mrc_cache->data;
- pei_data->mrc_input_len = mrc_cache->data_size;
- }
+ pei_data->mrc_input = mrc_cache->data;
+ pei_data->mrc_input_len = mrc_cache->data_size;
debug("%s: at %p, size %x checksum %04x\n", __func__,
pei_data->mrc_input, pei_data->mrc_input_len,
mrc_cache->checksum);