summaryrefslogtreecommitdiff
path: root/arch/x86/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-16 17:03:56 +0300
committerBin Meng <bmeng.cn@gmail.com>2017-02-06 06:38:46 +0300
commit4bbc02454fb84310eb755f68fa17d2eb36d976fe (patch)
tree7b9913a99972cfcbdfea577b219092116f99aa12 /arch/x86/lib/Makefile
parentf196bd21be5adff8a3c16918f873479be1b81143 (diff)
downloadu-boot-4bbc02454fb84310eb755f68fa17d2eb36d976fe.tar.xz
x86: Add an SPL implementation
SPL needs to set up the machine ready for loading 64-bit U-Boot and jumping to it. Call the existing init routines in order to accomplish this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-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 723288f7b2..67117c36e8 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -37,6 +37,7 @@ endif
obj-y += tables.o
obj-$(CONFIG_CMD_ZBOOT) += zimage.o
obj-$(CONFIG_HAVE_FSP) += fsp/
+obj-$(CONFIG_SPL_BUILD) += spl.o
extra-$(CONFIG_USE_PRIVATE_LIBGCC) += lib.a