coreboot-kgpe-d16/src
Marshall Dawson 03e6a455a3 amd/pi/hudson: Move APIC enable to CPU file
Relocate the enabling of the LAPIC out of the southbridge source and
surround it with a check for CONFIG_UDELAY_LAPIC (typical for AMD
systems).  The LAPIC is now enabled for all cores; not only the BSP,
and not only when the UART is used.

This solves the problem of APs not having their APICs enabled when
the timer is expected to be functional, e.g. verstage often uses
do_printk_va_list() instead of do_printk() which exits early for
APs when CONFIG_SQUELCH_EARLY_SMP=y.

The changes were tested with two Gardenia builds, one using verstage
and another with CONFIG_SQUELCH_EARLY_SMP=n.

Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Original-Reviewed-by: Marc Jones <marcj303@gmail.com>
(cherry picked from commit 93ffc311165f19d4192a5489051fa4264cd8e0ad)

Change-Id: Ieaecc0bf921ee0d2691a8082f2431ea4d0c33749
Signed-off-by: Marc Jones <marcj303@gmail.com>
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/18436
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
2017-03-07 23:06:55 +01:00
..
acpi
arch acpi: Update the ACPI ID for coreboot 2017-03-02 18:53:04 +01:00
commonlib commonlib/fsp.h: include sys/types.h for ssize_t 2017-02-22 22:57:50 +01:00
console console: Enable do_printk_va_list for VBOOT 2016-12-27 18:07:39 +01:00
cpu amd/pi/hudson: Move APIC enable to CPU file 2017-03-07 23:06:55 +01:00
device device: Add scan_generic_bus support 2017-02-16 08:41:52 +01:00
drivers acpi: Add ACPI_ prefix to IRQ enum and struct names 2017-02-22 22:19:19 +01:00
ec ec/lenovo/h8: Use older syntax for bit shift 2017-03-06 11:51:34 +01:00
include console: Enable printk for ENV_LIBAGESA 2017-03-07 00:43:49 +01:00
lib ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-10 18:04:33 +01:00
mainboard mainboard/intel/galileo: Remove space before opening bracket 2017-03-07 18:34:23 +01:00
northbridge nb/amd/amdht: Use variable for function name 2017-03-07 15:08:18 +01:00
soc soc/intel/quark: Fix errors detected by checkpatch 2017-03-07 18:31:04 +01:00
southbridge amd/pi/hudson: Move APIC enable to CPU file 2017-03-07 23:06:55 +01:00
superio sio/ite/it8783ef: Return (0) in ACPI _PSC methods 2016-12-13 22:49:24 +01:00
vboot build system: mark sub-make invocations as parallelizable 2017-01-31 18:51:55 +01:00
vendorcode Stage rules.h: Add ENV_LIBAGESA 2017-03-07 00:43:20 +01:00
Kconfig src/Kconfig: Move bootblock behavior to arch/x86 as TODO suggested 2017-02-14 19:03:42 +01:00