u-boot-brain/arch/x86/cpu/intel_common
Simon Glass d496162c85 x86: spi: Add helper functions for Intel Fast SPI
Most x86 CPUs use a mechanism where the SPI flash is mapped into the very
top of 32-bit address space, so that it can be executed in place and read
simply by copying from memory. For an 8MB ROM the mapping starts at
0xff800000.

However some recent Intel CPUs do not use a simple 1:1 memory map. Instead
the map starts at a different address and not all of the SPI flash is
accessible through the map. This 'Fast SPI' feature requires that U-Boot
check the location of the map. It is also possible (optionally) to read
from the SPI flash using a driver.

Add support for booting from Fast SPI. The memory-mapped version is used
by both TPL and SPL on Apollo Lake.

In respect of a SPI flash driver, the actual SPI driver is ich.c - this
just adds a few helper functions and definitions.

This is used by Apollo Lake.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-12-15 11:44:08 +08:00
..
car.S x86: Update a stale comment about ifdtool 2019-05-08 13:02:10 +08:00
cpu_from_spl.c x86: fsp: Save usable RAM and hob_list in the handoff area 2019-10-08 13:57:36 +08:00
cpu.c x86: Add new common CPU functions for turbo/burst mode 2019-10-08 13:57:47 +08:00
fast_spi.c x86: spi: Add helper functions for Intel Fast SPI 2019-12-15 11:44:08 +08:00
lpc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile x86: spi: Add helper functions for Intel Fast SPI 2019-12-15 11:44:08 +08:00
me_status.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
microcode.c x86: Use microcode update from device tree for all processors 2018-07-02 09:23:28 +08:00
mrc.c common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
pch.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
report_platform.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00