[U-Boot] [PATCH 8/9] x86: Clean up lapic codes
Simon Glass
sjg at chromium.org
Fri Jun 12 01:39:13 CEST 2015
On 9 June 2015 at 01:45, 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>
> ---
>
> 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
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list