On Intel SoCs, if TME is supported, TME key ID bits are reserved and should be subtracted from the maximum physical addresses available. BUG=288978352 TEST=Verified that DMAR ACPI table `Host Address Width` field on rex went from 45 to 41. Signed-off-by: Cliff Huang <cliff.huang@intel.com> Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Change-Id: I9504a489782ab6ef8950a8631c269ed39c63f34d Reviewed-on: https://review.coreboot.org/c/coreboot/+/77613 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
18 lines
534 B
Makefile
18 lines
534 B
Makefile
## SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
bootblock-$(CONFIG_CPU_INTEL_COMMON) += common_init.c
|
|
romstage-$(CONFIG_CPU_INTEL_COMMON) += common_init.c
|
|
postcar-$(CONFIG_CPU_INTEL_COMMON) += common_init.c
|
|
ramstage-$(CONFIG_CPU_INTEL_COMMON) += common_init.c
|
|
ramstage-$(CONFIG_CPU_INTEL_COMMON) += hyperthreading.c
|
|
ramstage-$(CONFIG_CPU_INTEL_COMMON_VOLTAGE) += voltage.c
|
|
|
|
ifeq ($(CONFIG_CPU_INTEL_COMMON_TIMEBASE),y)
|
|
bootblock-y += fsb.c
|
|
verstage-y += fsb.c
|
|
romstage-y += fsb.c
|
|
postcar-y += fsb.c
|
|
ramstage-y += fsb.c
|
|
smm-y += fsb.c
|
|
endif
|