summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-16 07:03:47 -0700
committerBin Meng <bmeng.cn@gmail.com>2017-02-06 11:38:46 +0800
commit987116f7f6432f07bcfbbaf5cff6c62503edad1e (patch)
treee414f2a5016bbf021004e5fa02f37ae2e91369c6
parent2eff989585518a2da60930fa603aad4d425bbe7d (diff)
downloadu-boot-imx-987116f7f6432f07bcfbbaf5cff6c62503edad1e.zip
u-boot-imx-987116f7f6432f07bcfbbaf5cff6c62503edad1e.tar.gz
u-boot-imx-987116f7f6432f07bcfbbaf5cff6c62503edad1e.tar.bz2
x86: ivybridge: Allow 32-bit init to move to SPL
Update the Makefile so that some 32-bit init can be built into SPL rather than U-Boot proper. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--arch/x86/cpu/ivybridge/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/ivybridge/Makefile b/arch/x86/cpu/ivybridge/Makefile
index 498e71a..d13d0d3 100644
--- a/arch/x86/cpu/ivybridge/Makefile
+++ b/arch/x86/cpu/ivybridge/Makefile
@@ -7,12 +7,12 @@
ifdef CONFIG_HAVE_FSP
obj-y += fsp_configs.o ivybridge.o
else
-obj-y += cpu.o
+obj-$(CONFIG_$(SPL_)X86_32BIT_INIT) += cpu.o
obj-y += early_me.o
obj-y += lpc.o
obj-y += model_206ax.o
obj-y += northbridge.o
obj-y += sata.o
-obj-y += sdram.o
+obj-$(CONFIG_$(SPL_)X86_32BIT_INIT) += sdram.o
endif
obj-y += bd82x6x.o