soc/intel/apollolake: Add support for memory-mapped boot media
On Apollo Lake SPI flash is memory mapped. The mapping is different to previous platforms. Only "BIOS" region is mapped in contrast to whole flash. Also, the 128 KiB right below 4 GiB are being decoded by readonly SRAM. Fail accesses to those regions, rather than returning false data. Change-Id: Iac3fa74cd221a5a46ceb34c2a79470290bcc2d84 Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-on: https://review.coreboot.org/13706 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
Martin Roth
parent
fb22ff4c03
commit
5672dcd58c
@@ -85,4 +85,9 @@ config C_ENV_BOOTBLOCK_SIZE
|
||||
hex
|
||||
default 0x8000
|
||||
|
||||
# This SoC does not map SPI flash like many previous SoC. Therefore we provide
|
||||
# a custom media driver that facilitates mapping
|
||||
config X86_TOP4G_BOOTMEDIA_MAP
|
||||
bool
|
||||
default n
|
||||
endif
|
||||
|
Reference in New Issue
Block a user