cpu/intel/car/core2: Prepare for POSTCAR_STAGE support
Split of the model_6ex cache as ram to support POSTCAR_STAGE, which is also needed for future C_ENVIRONMENT_BOOTBLOCK. When using POSTCAR_STAGE the p4-netburst/exit_car.S is using since it is identical. Change-Id: Ibe9f065fdf1d702b73333ea7bb32daca15ba1293 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/26783 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
@@ -8,6 +8,11 @@ subdirs-y += ../microcode
|
||||
subdirs-y += ../hyperthreading
|
||||
subdirs-y += ../speedstep
|
||||
|
||||
# Use Intel Core (not Core 2) code for CAR init, any CPU might be used.
|
||||
ifneq ($(CONFIG_POSTCAR_STAGE),y)
|
||||
cpu_incs-y += $(src)/cpu/intel/model_6ex/cache_as_ram.inc
|
||||
else
|
||||
cpu_incs-y += $(src)/cpu/intel/car/core2/cache_as_ram.S
|
||||
postcar-y += ../car/p4-netburst/exit_car.S
|
||||
endif
|
||||
|
||||
romstage-y += ../car/romstage.c
|
||||
|
Reference in New Issue
Block a user