[U-Boot] [PATCH v3 32/62] x86: Move the i386 code into its own directory

Bin Meng bmeng.cn at gmail.com
Tue Jan 17 04:51:03 CET 2017


On Mon, Jan 16, 2017 at 10:03 PM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  arch/x86/cpu/Makefile                           |   6 +-
>  arch/x86/cpu/cpu.c                              | 504 ----------------------
>  arch/x86/cpu/i386/Makefile                      |   7 +
>  arch/x86/cpu/i386/cpu.c                         | 534 ++++++++++++++++++++++++
>  arch/x86/cpu/{interrupts.c => i386/interrupt.c} |   4 -
>  arch/x86/include/asm/mp.h                       |   3 +
>  6 files changed, 549 insertions(+), 509 deletions(-)
>  create mode 100644 arch/x86/cpu/i386/Makefile
>  create mode 100644 arch/x86/cpu/i386/cpu.c
>  rename arch/x86/cpu/{interrupts.c => i386/interrupt.c} (99%)
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list