summaryrefslogtreecommitdiff
path: root/arch/x86/cpu
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-12 22:42:27 -0700
committerSimon Glass <sjg@chromium.org>2014-11-21 07:34:15 +0100
commit3eafce05278f867678a66efd867f398cc055359a (patch)
tree9138917abe452743e2eac74b1cfab76d11efca4e /arch/x86/cpu
parenta49e3c7f09abf4961f2945275338c3a0c18b9b61 (diff)
downloadu-boot-imx-3eafce05278f867678a66efd867f398cc055359a.zip
u-boot-imx-3eafce05278f867678a66efd867f398cc055359a.tar.gz
u-boot-imx-3eafce05278f867678a66efd867f398cc055359a.tar.bz2
x86: ivybridge: Add LAPIC support
The local advanced programmable interrupt controller is not used much in U-Boot but we do need to set it up. Add basic support for this, which will be extended as needed. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu')
-rw-r--r--arch/x86/cpu/ivybridge/cpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/cpu.c b/arch/x86/cpu/ivybridge/cpu.c
index d5be2f5..60976db 100644
--- a/arch/x86/cpu/ivybridge/cpu.c
+++ b/arch/x86/cpu/ivybridge/cpu.c
@@ -16,6 +16,7 @@
#include <fdtdec.h>
#include <asm/cpu.h>
#include <asm/io.h>
+#include <asm/lapic.h>
#include <asm/msr.h>
#include <asm/mtrr.h>
#include <asm/pci.h>
@@ -283,6 +284,8 @@ int print_cpuinfo(void)
if (ret)
return ret;
+ enable_lapic();
+
ret = microcode_update_intel();
if (ret && ret != -ENOENT && ret != -EEXIST)
return ret;