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:
parent
417a6da449
commit
a3288b38e1
|
@ -9,7 +9,7 @@ config INTEL_LYNXPOINT_LP
|
||||||
bool
|
bool
|
||||||
default y if SOC_INTEL_BROADWELL
|
default y if SOC_INTEL_BROADWELL
|
||||||
|
|
||||||
config CPU_SPECIFIC_OPTIONS
|
config SOC_SPECIFIC_OPTIONS
|
||||||
def_bool y
|
def_bool y
|
||||||
select ACPI_INTEL_HARDWARE_SLEEP_VALUES
|
select ACPI_INTEL_HARDWARE_SLEEP_VALUES
|
||||||
select ARCH_ALL_STAGES_X86_32
|
select ARCH_ALL_STAGES_X86_32
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
ifeq ($(CONFIG_SOC_INTEL_BROADWELL),y)
|
ifeq ($(CONFIG_SOC_INTEL_BROADWELL),y)
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_CPU_INTEL_HASWELL),y)
|
||||||
|
romstage-y += cpu/romstage.c
|
||||||
|
else
|
||||||
subdirs-y += cpu
|
subdirs-y += cpu
|
||||||
|
endif
|
||||||
|
|
||||||
subdirs-y += pch
|
subdirs-y += pch
|
||||||
|
|
||||||
bootblock-y += bootblock.c
|
bootblock-y += bootblock.c
|
||||||
|
|
Loading…
Reference in New Issue