x86: ivybridge: Skip SATA init in SPL
This doesn't work at present. Disable it for now.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/arch/x86/cpu/ivybridge/Makefile b/arch/x86/cpu/ivybridge/Makefile
index d13d0d3..1a526c8 100644
--- a/arch/x86/cpu/ivybridge/Makefile
+++ b/arch/x86/cpu/ivybridge/Makefile
@@ -12,7 +12,9 @@
obj-y += lpc.o
obj-y += model_206ax.o
obj-y += northbridge.o
+ifndef CONFIG_SPL_BUILD
obj-y += sata.o
+endif
obj-$(CONFIG_$(SPL_)X86_32BIT_INIT) += sdram.o
endif
obj-y += bd82x6x.o