coreboot/src/cpu/amd
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
..
agesa AGESA: Add agesa_helper.h header 2017-03-07 01:12:44 +01:00
car amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
dualcore src/cpu/amd: Update/Add license headers to all files 2017-02-22 22:22:49 +01:00
family_10h-family_15h amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
geode_gx2 src/cpu/amd: Update/Add license headers to all files 2017-02-22 22:22:49 +01:00
geode_lx MMCONF_SUPPORT: Flip default to enabled 2016-12-07 13:00:31 +01:00
microcode src/cpu: Add required space before opening parenthesis '(' 2016-08-28 18:47:23 +02:00
model_fxx src/cpu/amd: Update/Add license headers to all files 2017-02-22 22:22:49 +01:00
mtrr src/cpu: Add required space before opening parenthesis '(' 2016-08-28 18:47:23 +02:00
pi amd/pi/hudson: Move APIC enable to CPU file 2017-03-07 23:06:55 +01:00
quadcore amdfam10: Perform major include ".c" cleanup 2017-01-04 18:56:01 +01:00
smm x86 SMM: Fix use with RELOCATABLE_RAMSTAGE 2016-12-11 08:56:40 +01:00
socket_754 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_939 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_940 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_AM2 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_AM2r2 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_AM3 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_ASB2 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_C32 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_F x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
socket_F_1207 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_FM2 cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00
socket_G34 cpu/amd: Move model_10xxx to family_10h-family_15h 2015-11-02 23:37:24 +01:00
socket_S1G1 x86: remove cpu_incs as romstage Make variable 2015-09-04 15:09:32 +00:00
Kconfig cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00
Makefile.inc cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00