coreboot-kgpe-d16/src/southbridge
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
..
amd amd/pi/hudson: Move APIC enable to CPU file 2017-03-07 23:06:55 +01:00
broadcom amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
intel lynxpoint bd82x6x: Enable PCI-to-PCI bridge 2017-02-23 18:36:24 +01:00
nvidia sb/nvidia/mcp55: Fix typo in nic.c 2017-01-13 17:41:23 +01:00
ricoh/rl5c476 sb/ricoh/rl5c476/rl5c476.c: Use tab for indents 2016-11-28 01:03:34 +01:00
sis/sis966 PCI ops: Remove conflicting duplicate declarations 2016-12-06 20:44:12 +01:00
ti southbridge/ti: Update license headers 2016-04-13 17:36:00 +02:00
via via/k8t890: Compose a list of PCI IDs 2016-11-22 18:30:16 +01:00