From b4f57bb3cac3ab29b9fa9c526ad4358faffb77a1 Mon Sep 17 00:00:00 2001 From: Frans Hendriks Date: Fri, 26 Oct 2018 15:05:17 +0200 Subject: src/soc/intel/braswell/cpu.c: Set up local APIC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Local APIC was not configured. Add setup_lapic() to configure the APIC. BUG=N/A TEST= Ubuntu 4.15.0 reports correct local APIC information on Intel CherryHill CRB Change-Id: Ic1da5b1bf235f34b957142e86c70a9dbfa3ded1d Signed-off-by: Frans Hendriks Reviewed-on: https://review.coreboot.org/c/29290 Tested-by: build bot (Jenkins) Reviewed-by: Michał Żygowski --- src/soc/intel/braswell/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/soc/intel/braswell/cpu.c b/src/soc/intel/braswell/cpu.c index 12f34fb2fe..5f86a11db1 100644 --- a/src/soc/intel/braswell/cpu.c +++ b/src/soc/intel/braswell/cpu.c @@ -3,6 +3,7 @@ * * Copyright (C) 2013 Google Inc. * Copyright (C) 2015 Intel Corp. + * Copyright (C) 2018 Eltan B.V. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,6 +53,9 @@ static void soc_core_init(struct device *cpu) __FILE__, __func__, dev_name(cpu)); printk(BIOS_DEBUG, "Init Braswell core.\n"); + /* Enable the local cpu apics */ + setup_lapic(); + /* * The turbo disable bit is actually scoped at building * block level -- not package. For non-bsp cores that are within a -- cgit v1.2.3