diff options
| author | Bin Meng <[email protected]> | 2015-10-18 15:55:37 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2015-10-21 07:46:51 -0600 |
| commit | 3e45de6ed416759f0f2699d5bb358183dbdb2063 (patch) | |
| tree | 5e1ca3e7807d8a3735929c642e3ad746dd264ca5 | |
| parent | fd8f4729ac6520e59dd1d3f57d503d8abe345ac5 (diff) | |
x86: ivybridge: Enable the MRC cache
This works correctly now, so enable it.
Signed-off-by: Bin Meng <[email protected]>
Dropped malloc() and adjusted commit message:
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
| -rw-r--r-- | arch/x86/cpu/ivybridge/sdram.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/x86/cpu/ivybridge/sdram.c b/arch/x86/cpu/ivybridge/sdram.c index d9b3dfc12cd..4372a5caf2d 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([email protected]): 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); |
