Revert "cbfs: Skip mcache in post-RAM stages before CBMEM is online"
This reverts commit b652aaef99
. It was
dumb and didn't actually fix anything.
Change-Id: I074135dd12face1226105e0706c78ae8ecba18e0
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48481
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
4911c3e352
commit
d2777b8485
|
@ -27,8 +27,7 @@ cb_err_t cbfs_boot_lookup(const char *name, bool force_ro,
|
|||
|
||||
size_t data_offset;
|
||||
cb_err_t err = CB_CBFS_CACHE_FULL;
|
||||
if (!CONFIG(NO_CBFS_MCACHE) && !ENV_SMM &&
|
||||
(ENV_ROMSTAGE_OR_BEFORE || cbmem_online()))
|
||||
if (!CONFIG(NO_CBFS_MCACHE) && !ENV_SMM)
|
||||
err = cbfs_mcache_lookup(cbd->mcache, cbd->mcache_size,
|
||||
name, mdata, &data_offset);
|
||||
if (err == CB_CBFS_CACHE_FULL) {
|
||||
|
|
Loading…
Reference in New Issue