u-boot-brain/arch/x86
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
..
cpu x86: spi: Add helper functions for Intel Fast SPI 2019-12-15 11:44:08 +08:00
dts binman: x86: Separate out 16-bit reset and init code 2019-10-15 08:40:02 -06:00
include/asm x86: spi: Add helper functions for Intel Fast SPI 2019-12-15 11:44:08 +08:00
lib common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
config.mk x86: efi: app: Generate Microsoft PE format compliant image 2018-12-02 21:59:36 +01:00
Kconfig x86: Drop RESET_SEG_SIZE 2019-10-11 17:37:34 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00