Cover the SPIROM with a temporary MTRR to speed up SPI flash accesses after MPinit has removed the MTRR that was installed for postcar stage. TEST=Booted on Lenovo X220 and measured using cbmem -t: Before: 16:finished LZMA decompress (ignore for x86) 1,391,520 (366,351) After: 16:finished LZMA decompress (ignore for x86) 1,218,418 (210,054) Boots 156msec faster than before. Change-Id: Ia3df06b5c2a09e05c76361f3e38be83475122ee7 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88811 Reviewed-by: Shuo Liu <shuo.liu@intel.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
|---|---|---|
| .. | ||
| acpi.c | ||
| bootblock.c | ||
| chip.h | ||
| finalize.c | ||
| haswell.h | ||
| haswell_init.c | ||
| Kconfig | ||
| Makefile.mk | ||
| pcode_mailbox.c | ||
| romstage.c | ||
| smmrelocate.c | ||