From 3eafce05278f867678a66efd867f398cc055359a Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 12 Nov 2014 22:42:27 -0700 Subject: 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 --- arch/x86/cpu/ivybridge/cpu.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/x86/cpu/ivybridge') diff --git a/arch/x86/cpu/ivybridge/cpu.c b/arch/x86/cpu/ivybridge/cpu.c index d5be2f587f..60976db44d 100644 --- a/arch/x86/cpu/ivybridge/cpu.c +++ b/arch/x86/cpu/ivybridge/cpu.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -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; -- cgit