x86: Move setjmp to the i386 directory

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>
master
Simon Glass 8 years ago committed by Bin Meng
parent 8cfc966c77
commit 4d3ac6c326
  1. 3
      arch/x86/cpu/Makefile
  2. 1
      arch/x86/cpu/i386/Makefile
  3. 0
      arch/x86/cpu/i386/setjmp.S

@ -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

@ -6,3 +6,4 @@
obj-y += call64.o
obj-y += cpu.o
obj-y += interrupt.o
obj-y += setjmp.o

Loading…
Cancel
Save