summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge/model_206ax.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-06-17 11:15:38 +0800
committerSimon Glass <sjg@chromium.org>2015-07-14 18:03:16 -0600
commit63d54a67051e3e03b8a46b5442b65323d18ddb98 (patch)
tree46688389cc50038051fac7c7de45bda290fc530f /arch/x86/cpu/ivybridge/model_206ax.c
parent61788e468ebe4a7b8c852ab4e761e084a7975a93 (diff)
downloadu-boot-imx-63d54a67051e3e03b8a46b5442b65323d18ddb98.zip
u-boot-imx-63d54a67051e3e03b8a46b5442b65323d18ddb98.tar.gz
u-boot-imx-63d54a67051e3e03b8a46b5442b65323d18ddb98.tar.bz2
x86: Clean up lapic codes
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@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/ivybridge/model_206ax.c')
-rw-r--r--arch/x86/cpu/ivybridge/model_206ax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/ivybridge/model_206ax.c b/arch/x86/cpu/ivybridge/model_206ax.c
index 8b08c40..fd7db97 100644
--- a/arch/x86/cpu/ivybridge/model_206ax.c
+++ b/arch/x86/cpu/ivybridge/model_206ax.c
@@ -13,12 +13,12 @@
#include <asm/acpi.h>
#include <asm/cpu.h>
#include <asm/lapic.h>
-#include <asm/lapic_def.h>
#include <asm/msr.h>
#include <asm/mtrr.h>
#include <asm/processor.h>
#include <asm/speedstep.h>
#include <asm/turbo.h>
+#include <asm/arch/bd82x6x.h>
#include <asm/arch/model_206ax.h>
static void enable_vmx(void)