x86: fsp: Move common support functions into a common file
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:31 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:54:07 +0000 (13:54 +0800)
commit62888d840fb99d0375dc33ef7b3404377f451bcf
tree6c328b9bda3ef4428e3bd9030eec7206b5c90834
parentb2d544a15d2edf8199e45e06c44b3e99ace906bc
x86: fsp: Move common support 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/lib/fsp/Makefile
arch/x86/lib/fsp/fsp_support.c [new file with mode: 0644]
arch/x86/lib/fsp1/fsp_support.c