soc/intel/broadwell: Allow to use Haswell CPU code instead

This allows individual boards to be adapted to use Haswell CPU code.
Also rename the CPU_SPECIFIC_OPTIONS symbol to avoid any collisions.

Change-Id: I65e878dacf0a0d53fd8d4defce6684f4ceb92588
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46944
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-11-23 13:00:51 +01:00
parent 417a6da449
commit a3288b38e1
2 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@ config INTEL_LYNXPOINT_LP
bool
default y if SOC_INTEL_BROADWELL
config CPU_SPECIFIC_OPTIONS
config SOC_SPECIFIC_OPTIONS
def_bool y
select ACPI_INTEL_HARDWARE_SLEEP_VALUES
select ARCH_ALL_STAGES_X86_32

View File

@ -1,6 +1,11 @@
ifeq ($(CONFIG_SOC_INTEL_BROADWELL),y)
ifeq ($(CONFIG_CPU_INTEL_HASWELL),y)
romstage-y += cpu/romstage.c
else
subdirs-y += cpu
endif
subdirs-y += pch
bootblock-y += bootblock.c