mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-30 08:03:32 +08:00
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>
This commit is contained in:
parent
fd8f4729ac
commit
3e45de6ed4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user