Arthur Heymans uploaded patch set #3 to this change.
sb/intel/common: Get memory map from SPI controller
Instead of always assuming that the top of a flash matches the top of 4G
use the real memory map that's configured in the IFD and is reflected in
the SPI registers.
One possible use case is to cleanly generate images for some hacks
rather than having to apply some 'dd' trickery: e.g. on HP Sure Start a
part of the flash is checked by EC.
UNTESTED. This might break some hacks people use to work around SPI
locked images by modifying the IFD when booted with a recovery strap
pulled. Those would also need a specifically crafted FMAP.
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I5f31c175345ec3efab02255a7063054eb0ad29e4
---
M src/southbridge/intel/common/Kconfig.common
M src/southbridge/intel/common/Makefile.inc
M src/southbridge/intel/common/rcba.h
A src/southbridge/intel/common/spi_memmap.c
4 files changed, 90 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/79880/3
To view, visit change 79880. To unsubscribe, or for help writing mail filters, visit settings.