diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-05-22 08:45:33 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-05-23 07:27:41 (GMT) |
commit | e2126711af40ae669610d3500fe23c81b7ad6307 (patch) | |
tree | c3ce06397c65d34b261e2dba02b020a66b5b2090 /arch/x86/cpu/ivybridge | |
parent | aaaa55751ab1e5a5cfa0962d604593a7e6f33ff6 (diff) | |
download | u-boot-fsl-qoriq-e2126711af40ae669610d3500fe23c81b7ad6307.tar.xz |
x86: Call lapic_setup() in interrupt_init()
Let's configure LAPIC in a common place - interrupt_init().
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/ivybridge')
-rw-r--r-- | arch/x86/cpu/ivybridge/model_206ax.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/cpu/ivybridge/model_206ax.c b/arch/x86/cpu/ivybridge/model_206ax.c index e710ac4..38e244b 100644 --- a/arch/x86/cpu/ivybridge/model_206ax.c +++ b/arch/x86/cpu/ivybridge/model_206ax.c @@ -14,7 +14,6 @@ #include <malloc.h> #include <asm/cpu.h> #include <asm/cpu_x86.h> -#include <asm/lapic.h> #include <asm/msr.h> #include <asm/msr-index.h> #include <asm/mtrr.h> @@ -418,7 +417,6 @@ static int model_206ax_init(struct udevice *dev) /* Enable the local cpu apics */ enable_lapic_tpr(); - lapic_setup(); /* Enable virtualization if enabled in CMOS */ enable_vmx(); |