[U-Boot] [PATCH v4 5/6] x86: Clean up lapic codes

Simon Glass sjg at chromium.org
Wed Jun 24 04:45:09 CEST 2015


On 16 June 2015 at 21:15, Bin Meng <bmeng.cn at gmail.com> wrote:
> This commit cleans up the lapic codes:
> - Delete arch/x86/include/asm/lapic_def.h, and move register and bit
>   defines into arch/x86/include/asm/lapic.h
> - Use MSR defines from msr-index.h in enable_lapic() and disable_lapic()
> - Remove unnecessary stuff like NEED_LAPIC, X86_GOOD_APIC and
>   CONFIG_AP_IN_SIPI_WAIT
> - Move struct x86_cpu_priv defines to asm/arch-ivybridge/bd82x6x.h, as
>   it is not apic related and only used by ivybridge
> - Fix coding convention issues
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
>  arch/x86/cpu/ivybridge/model_206ax.c          |   2 +-
>  arch/x86/cpu/lapic.c                          |  38 ++++----
>  arch/x86/include/asm/arch-ivybridge/bd82x6x.h |  14 ++-
>  arch/x86/include/asm/lapic.h                  | 131 ++++++++++++++------------
>  arch/x86/include/asm/lapic_def.h              | 101 --------------------
>  5 files changed, 103 insertions(+), 183 deletions(-)
>  delete mode 100644 arch/x86/include/asm/lapic_def.h

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list