coreboot-kgpe-d16/src/drivers
Furquan Shaikh 493937e1d6 coreboot tables: Add SPI flash memory map windows to coreboot tables
This change adds details about the memory map windows to translate
addresses between SPI flash space and host address space to coreboot
tables. This is useful for payloads to setup the translation using the
decode windows already known to coreboot. Until now, there was a
single decode window at the top of 4G used by all x86
platforms. However, going forward, platforms might support more decode
windows and hence in order to avoid duplication in payloads this
information is filled in coreboot tables.

`lb_spi_flash()` is updated to fill in the details about these windows
by making a call to `spi_flash_get_mmap_windows()` which is
implemented by the driver providing the boot media mapping device.

BUG=b:171534504

Signed-off-by: Furquan Shaikh <furquan@google.com>
Change-Id: I00ae33d9b53fecd0a8eadd22531fdff8bde9ee94
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48185
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-12-08 22:56:09 +00:00
..
amd cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
ams
analogix/anx7625 src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
asmedia
aspeed drivers/aspeed/common/ast: Fix compilation under x86_64 2020-12-01 16:01:31 +00:00
broadcom
camera drivers/camera: Add config CHROMEOS_CAMERA 2020-10-19 06:50:20 +00:00
crb src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
elog src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
emulation/qemu src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
generic acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
genesyslogic drivers/genesyslogic/gl9755: Add driver for Genesys Logic GL9755 2020-09-18 15:49:15 +00:00
gfx/generic acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
gic
i2c drivers/i2c/tpm: Unconditionally allow I2C TPM ACPI node 2020-12-08 16:54:56 +00:00
intel drivers/intel/fsp2_0/memory_init: Wrap calls into FSP 2020-12-05 08:19:34 +00:00
ipmi src/drivers/ipmi: Add function to get BMC revision 2020-10-26 06:46:17 +00:00
lenovo src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
maxim
mrc_cache mrc_cache: Move code for triggering memory training into mrc_cache 2020-11-13 22:57:50 +00:00
net src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
ocp/dmi soc/intel/xeon_sp: Move read_msr_ppin() to common util.c 2020-10-30 17:13:53 +00:00
parade
pc80 cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
ricoh/rce822
secunet/dmi
siemens/nc_fpga
sil/3114
smmstore drivers/smmstore: Implement SMMSTORE version 2 2020-10-22 12:29:47 +00:00
soundwire acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
spi coreboot tables: Add SPI flash memory map windows to coreboot tables 2020-12-08 22:56:09 +00:00
ti drivers: snsn65dsi86: Fix link rate parsing 2020-10-13 22:41:05 +00:00
tpm drivers/tpm: Move PPI stub 2020-11-22 22:27:29 +00:00
uart lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
usb drivers/usb/acpi: Add support for privacy_gpio 2020-11-09 07:40:52 +00:00
vpd
wifi/generic vc/google/chromeos/sar: Make "SAR not found" log a debug message 2020-11-20 08:36:26 +00:00