Bladeren bron

x86: Move call64 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>
Simon Glass 8 jaren geleden
bovenliggende
commit
8cfc966c77
3 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 1
      arch/x86/cpu/Makefile
  2. 1 0
      arch/x86/cpu/i386/Makefile
  3. 0 0
      arch/x86/cpu/i386/call64.S

+ 1 - 1
arch/x86/cpu/Makefile

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

+ 1 - 0
arch/x86/cpu/i386/Makefile

@@ -3,5 +3,6 @@
 # Written by Simon Glass <sjg@chromium.org>
 #
 
+obj-y += call64.o
 obj-y += cpu.o
 obj-y += interrupt.o

+ 0 - 0
arch/x86/cpu/call64.S → arch/x86/cpu/i386/call64.S