diff options
author | Andrey Petrov <andrey.petrov@intel.com> | 2016-02-12 15:12:43 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-03-08 13:50:11 +0100 |
commit | 5672dcd58c0ae7f7a0d14af0a88ff9c534e0936a (patch) | |
tree | 1cb4ca13696f2f55b1357d0d5ef024a194253471 /src/soc/intel/apollolake/Kconfig | |
parent | fb22ff4c03091c0b84a715df1320cfe74bcea665 (diff) | |
download | coreboot-5672dcd58c0ae7f7a0d14af0a88ff9c534e0936a.tar.xz |
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>
Diffstat (limited to 'src/soc/intel/apollolake/Kconfig')
-rw-r--r-- | src/soc/intel/apollolake/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig index c32b80f38f..2f6101582f 100644 --- a/src/soc/intel/apollolake/Kconfig +++ b/src/soc/intel/apollolake/Kconfig @@ -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 |