soc/intel/coffeelake: Add initial coffeelake support

Add coffeelake config and include path to coffeelake fsp header files.

BUG=N/A
TEST=Using private mainboard file can boot up on coffeelake rvp
platform.

Change-Id: Ide180de32a9d1896bed85b9e093963721c3d6041
Signed-off-by: Lijian Zhao <lijian.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/27468
Reviewed-by: Pratikkumar V Prajapati <pratikkumar.v.prajapati@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Lijian Zhao 2018-07-12 17:16:11 -07:00 committed by Patrick Georgi
parent 177f343bcc
commit 3638a52a64
2 changed files with 17 additions and 1 deletions

View File

@ -3,6 +3,19 @@ config SOC_INTEL_CANNONLAKE
help help
Intel Cannonlake support Intel Cannonlake support
config SOC_INTEL_COFFEELAKE
bool
default n
select SOC_INTEL_CANNONLAKE
help
Intel Coffeelake support
config CANNONLAKE_SOC_PCH_H
bool
default n
help
Choose this option if you have a PCH-H chipset.
if SOC_INTEL_CANNONLAKE if SOC_INTEL_CANNONLAKE
config CPU_SPECIFIC_OPTIONS config CPU_SPECIFIC_OPTIONS

View File

@ -73,8 +73,11 @@ verstage-y += pmutil.c
verstage-y += spi.c verstage-y += spi.c
verstage-$(CONFIG_UART_DEBUG) += uart.c verstage-$(CONFIG_UART_DEBUG) += uart.c
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake/include/fsp20 ifeq ($(CONFIG_SOC_INTEL_COFFEELAKE),y)
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/coffeelake
else
CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/cannonlake CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp2_0/cannonlake
endif
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake CPPFLAGS_common += -I$(src)/soc/intel/cannonlake
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake/include CPPFLAGS_common += -I$(src)/soc/intel/cannonlake/include