x86: Rename existing FSP code to fsp1
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:00:11 +0000 (08:00 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:50:08 +0000 (13:50 +0800)
commit83311886151f80ef24d30f850baece07d08863cb
treef13bd9053d87780e0c1624b978f9224602e951d9
parent61ba1244b548463dbfb3c5285b6b22e7c772c5bd
x86: Rename existing FSP code to fsp1

Since there is now a new version of the FSP and it is incompatible with
the existing version, move the code into an fsp1 directory. This will
allow us to put FSP v2 code into an fsp2 directory.

Add a Kconfig which defines which version is in use.

Some of the code in this new fsp1/ directory is generic across both FSPv1
and FSPv2. Future patches will address this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
43 files changed:
arch/x86/Kconfig
arch/x86/cpu/baytrail/acpi.c
arch/x86/cpu/baytrail/fsp_configs.c
arch/x86/cpu/braswell/fsp_configs.c
arch/x86/cpu/ivybridge/fsp_configs.c
arch/x86/cpu/queensbay/fsp_configs.c
arch/x86/cpu/queensbay/tnc.c
arch/x86/include/asm/fsp/fsp_api.h [deleted file]
arch/x86/include/asm/fsp/fsp_azalia.h [deleted file]
arch/x86/include/asm/fsp/fsp_bootmode.h [deleted file]
arch/x86/include/asm/fsp/fsp_ffs.h [deleted file]
arch/x86/include/asm/fsp/fsp_fv.h [deleted file]
arch/x86/include/asm/fsp/fsp_hob.h [deleted file]
arch/x86/include/asm/fsp/fsp_infoheader.h [deleted file]
arch/x86/include/asm/fsp/fsp_support.h [deleted file]
arch/x86/include/asm/fsp/fsp_types.h [deleted file]
arch/x86/include/asm/fsp1/fsp_api.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_azalia.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_bootmode.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_ffs.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_fv.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_hob.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_infoheader.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_support.h [new file with mode: 0644]
arch/x86/include/asm/fsp1/fsp_types.h [new file with mode: 0644]
arch/x86/include/asm/u-boot-x86.h
arch/x86/lib/Makefile
arch/x86/lib/fsp/Makefile [deleted file]
arch/x86/lib/fsp/fsp_car.S [deleted file]
arch/x86/lib/fsp/fsp_common.c [deleted file]
arch/x86/lib/fsp/fsp_dram.c [deleted file]
arch/x86/lib/fsp/fsp_graphics.c [deleted file]
arch/x86/lib/fsp/fsp_support.c [deleted file]
arch/x86/lib/fsp1/Makefile [new file with mode: 0644]
arch/x86/lib/fsp1/fsp_car.S [new file with mode: 0644]
arch/x86/lib/fsp1/fsp_common.c [new file with mode: 0644]
arch/x86/lib/fsp1/fsp_dram.c [new file with mode: 0644]
arch/x86/lib/fsp1/fsp_graphics.c [new file with mode: 0644]
arch/x86/lib/fsp1/fsp_support.c [new file with mode: 0644]
board/advantech/som-db5800-som-6867/som-db5800-som-6867.c
board/intel/cherryhill/cherryhill.c
cmd/x86/fsp.c
drivers/pci/pci-uclass.c