Patch set 1:Code-Review +2
1 comment:
File src/soc/intel/common/block/fast_spi/fast_spi.c:
if (ENV_PAYLOAD_LOADER) {
mtrr_use_temp_range(ext_bios_base, ext_bios_size, type);
} else {
int mtrr = get_free_var_mtrr();
if (mtrr == -1)
return;
set_var_mtrr(mtrr, ext_bios_base, ext_bios_size, type);
}
nit: This can be converted into a helper function `fast_spi_configure_mtrr()` and used here and in fast_spi_cache_bios_region.
To view, visit change 47991. To unsubscribe, or for help writing mail filters, visit settings.