x86: Move the i386 code into its own directory
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:57 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commitbe059e8813082d6c07be5f69cb7febe37411ca47
tree248dcfa08ac3da6ad3ac4eb7baf16718994a1293
parent4bbc02454fb84310eb755f68fa17d2eb36d976fe
x86: Move the i386 code into its own directory

Much of the cpu and interrupt code cannot be compiled on 64-bit x86. Move it
into its own directory and build it only in 32-bit mode.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/Makefile
arch/x86/cpu/cpu.c
arch/x86/cpu/i386/Makefile [new file with mode: 0644]
arch/x86/cpu/i386/cpu.c [new file with mode: 0644]
arch/x86/cpu/i386/interrupt.c [moved from arch/x86/cpu/interrupts.c with 99% similarity]
arch/x86/include/asm/mp.h