diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-10-07 17:22:42 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@gmail.com> | 2015-10-11 23:56:46 +0000 |
commit | ed253c8fd80573b2182aa5fd27033750cff48c0b (patch) | |
tree | 00cb4f59ce9bf9fe07fb3655677fe5348195ba09 /3rdparty | |
parent | fb9e378f2d239df8f3bd582f4f9d862f31748cbb (diff) |
cbfs: don't load x86 programs over the top of read-only media
On x86 the early stages are currently execute-in-place which
means they live in the memory-mapped spi flash. However, when
loading romstage from verstage the romstage is
execute-in-place so it's unnecessary to write over a read-only
media -- not to mention writing to read-only memory is wrong
to begin with.
BUG=chrome-os-partner:44827
BRANCH=None
TEST=Built and booted glados. Noted reduction of 20ms when
loading romstage.
Change-Id: I7cd399302a3925a05fbce82600b4c50ea66a0fcb
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11823
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to '3rdparty')
0 files changed, 0 insertions, 0 deletions