]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Move setjmp to the i386 directory
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:04:20 +0000 (07:04 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:07:36 +0000 (13:07 +0800)
This code is only used in 32-bit mode. Move it so that it does not get
built with 64-bit U-Boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/Makefile
arch/x86/cpu/i386/Makefile
arch/x86/cpu/i386/setjmp.S [moved from arch/x86/cpu/setjmp.S with 100% similarity]

index 2fda32d29f4a3b8d3e1eb536248ce5acb29aeb42..45f95ab0349cedffd4bbc91aacecd0e90cc7c8bc 100644 (file)
@@ -14,9 +14,6 @@ else
 extra-y        = start.o
 endif
 extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
-ifndef CONFIG_$(SPL_)X86_64
-obj-y  += setjmp.o
-endif
 
 obj-y  += cpu.o cpu_x86.o
 
index 2547bbaa635f889e8fe71263c4e05cdedea1ef56..0c47252610dc2da6a092495ba24a8c9c41c18bea 100644 (file)
@@ -6,3 +6,4 @@
 obj-y += call64.o
 obj-y += cpu.o
 obj-y += interrupt.o
+obj-y += setjmp.o