x86: Move common fsp functions into a common file
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:30 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:54:01 +0000 (13:54 +0800)
commitb2d544a15d2edf8199e45e06c44b3e99ace906bc
treeace40793ea4223e4e00989a0afe0a9cd5e90e383
parente9de4a7cd31a08d7bd2afa842db5aca57b3a37cb
x86: Move common fsp functions into a common file

Some of this file can be shared between FSP1 and FSP2. Move it into a
shared file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/fsp/fsp_support.h
arch/x86/include/asm/fsp1/fsp_support.h
arch/x86/lib/fsp/Makefile
arch/x86/lib/fsp/fsp_common.c [new file with mode: 0644]
arch/x86/lib/fsp1/fsp_common.c