x86: fsp: Add FSP2 base support
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:18 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:16 +0000 (11:44 +0800)
commitcf87d3b5039d2e497380ccddff905cf3e58e0032
tree09eca0761df865fe118a40f2c728847980f2e90f
parentf42af294cc13a4ad19eefd5801dc97bf4ee54e5c
x86: fsp: Add FSP2 base support

Add support for some important configuration options and FSP memory init.
The memory init uses swizzle tables from the device tree.

Support for the FSP_S binary is also included.

Bootstage timing is used for both FSP_M and FSP_S and memory-mapped SPI
reads.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/Kconfig
arch/x86/include/asm/fsp2/fsp_api.h [new file with mode: 0644]
arch/x86/include/asm/fsp2/fsp_internal.h [new file with mode: 0644]
arch/x86/lib/fsp2/Makefile [new file with mode: 0644]
arch/x86/lib/fsp2/fsp_common.c [new file with mode: 0644]
arch/x86/lib/fsp2/fsp_dram.c [new file with mode: 0644]
arch/x86/lib/fsp2/fsp_init.c [new file with mode: 0644]
arch/x86/lib/fsp2/fsp_meminit.c [new file with mode: 0644]
arch/x86/lib/fsp2/fsp_silicon_init.c [new file with mode: 0644]
arch/x86/lib/fsp2/fsp_support.c [new file with mode: 0644]
include/bootstage.h