aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-24 14:10:32 -0600
committerBin Meng <bmeng.cn@gmail.com>2019-10-08 13:53:57 +0800
commite9de4a7cd31a08d7bd2afa842db5aca57b3a37cb (patch)
tree874e4db66a09e694d2a07b9f1e94d133d75a9c56 /arch/x86/lib/Makefile
parent12cf65a4d199e5d4ef8b167342579ab16d0f849b (diff)
downloadu-boot-e9de4a7cd31a08d7bd2afa842db5aca57b3a37cb.zip
u-boot-e9de4a7cd31a08d7bd2afa842db5aca57b3a37cb.tar.gz
u-boot-e9de4a7cd31a08d7bd2afa842db5aca57b3a37cb.tar.bz2
x86: fsp: Move common dram functions into a common file
Most of the DRAM functionality 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> [bmeng: rebase the patch against u-boot-x86/next to get it applied cleanly] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib/Makefile')
-rw-r--r--arch/x86/lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index a8c7448..ca0ca10 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -43,6 +43,7 @@ ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_CMD_ZBOOT) += zimage.o
endif
obj-$(CONFIG_USE_HOB) += hob.o
+obj-$(CONFIG_HAVE_FSP) += fsp/
obj-$(CONFIG_FSP_VERSION1) += fsp1/
obj-$(CONFIG_FSP_VERSION2) += fsp2/