summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/quark
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-10-23 00:43:07 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-10-26 20:01:43 +0000
commitcefee5e40f4e7567b25bce9df786a0fbf594a268 (patch)
treeef1ee0c4a96721df7625811a56e6a2977b7717ab /src/soc/intel/quark
parent5c78ff9b4a0eeb6332868f6df1ad7361d176706b (diff)
downloadcoreboot-cefee5e40f4e7567b25bce9df786a0fbf594a268.tar.gz
coreboot-cefee5e40f4e7567b25bce9df786a0fbf594a268.tar.bz2
coreboot-cefee5e40f4e7567b25bce9df786a0fbf594a268.zip
soc/intel/quark/Kconfig: don't unselect CPU_X86_LAPIC
The Intel Quark SoC does have a LAPIC on its x86 CPU core, so we should select CPU_X86_LAPIC. This will additionally include the Makefile from cpu/x86/lapic. Since none of AP_IN_SIPI_WAIT, LEGACY_SMP_INIT and UDELAY_LAPIC gets selected, only the boot_cpu.c and lapic.c targets will be added to the build. Since SMP isn't set, adding the boot_cpu.c target won't change the resulting binary of a timeless build, since the only function inside will be removed by the compiler's pre-processor in the !SMP case. So the only thing that will change the resulting binary is the addition of the lapic.c target. From this target only the function cpu_get_lapic_addr will be used which overrides the weak implementation in acpi/acpi.c. The call in arch/x86/mpspec.c can be ignored, since GENERATE_MP_TABLE isn't selected. So this change will result in the LAPIC address in the MADT being changed from 0 to to LAPIC_DEFAULT_BASE. Since the documentation of the Quark SoC mentions that it has a LAPIC on its one x86 core, this should work. TEST=None Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I2f163bd608f0548abb0e8de90843d2a796b8ef6c Reviewed-on: https://review.coreboot.org/c/coreboot/+/58550 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/quark')
-rw-r--r--src/soc/intel/quark/Kconfig4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/intel/quark/Kconfig b/src/soc/intel/quark/Kconfig
index bf9d475cd52f..1a9bfef9429d 100644
--- a/src/soc/intel/quark/Kconfig
+++ b/src/soc/intel/quark/Kconfig
@@ -24,10 +24,6 @@ config CPU_SPECIFIC_OPTIONS
select USE_MARCH_586
select NO_SMM
-config CPU_X86_LAPIC
- bool
- default n
-
#####
# Debug serial output
# The following options configure the debug serial port