]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Move call64 to the i386 directory
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:04:19 +0000 (07:04 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:07:33 +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/call64.S [moved from arch/x86/cpu/call64.S with 100% similarity]

index 6889df34c458214eec8f212a65f75ebb1e01bc60..2fda32d29f4a3b8d3e1eb536248ce5acb29aeb42 100644 (file)
@@ -15,7 +15,7 @@ extra-y       = start.o
 endif
 extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
 ifndef CONFIG_$(SPL_)X86_64
-obj-y  += call64.o setjmp.o
+obj-y  += setjmp.o
 endif
 
 obj-y  += cpu.o cpu_x86.o
index d3364955d8eaef937f2a712d3e419eee62638c89..2547bbaa635f889e8fe71263c4e05cdedea1ef56 100644 (file)
@@ -3,5 +3,6 @@
 # Written by Simon Glass <sjg@chromium.org>
 #
 
+obj-y += call64.o
 obj-y += cpu.o
 obj-y += interrupt.o