summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2018-07-12 17:16:11 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-08-03 08:05:35 +0000
commit3638a52a6413b31f67105335dd93909473316287 (patch)
tree78e77ea2a300af738ace1272af0049543ebf02bc /src/soc
parent177f343bccb0fde2fd1f1c5be035cb73d43eb99b (diff)
downloadcoreboot-3638a52a6413b31f67105335dd93909473316287.tar.xz
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>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/cannonlake/Kconfig13
-rw-r--r--src/soc/intel/cannonlake/Makefile.inc5
2 files changed, 17 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/Kconfig b/src/soc/intel/cannonlake/Kconfig
index 101d71eb37..e6a2062c4a 100644
--- a/src/soc/intel/cannonlake/Kconfig
+++ b/src/soc/intel/cannonlake/Kconfig
@@ -3,6 +3,19 @@ config SOC_INTEL_CANNONLAKE
help
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
config CPU_SPECIFIC_OPTIONS
diff --git a/src/soc/intel/cannonlake/Makefile.inc b/src/soc/intel/cannonlake/Makefile.inc
index f8f91980bb..0a09eb6780 100644
--- a/src/soc/intel/cannonlake/Makefile.inc
+++ b/src/soc/intel/cannonlake/Makefile.inc
@@ -73,8 +73,11 @@ verstage-y += pmutil.c
verstage-y += spi.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
+endif
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake
CPPFLAGS_common += -I$(src)/soc/intel/cannonlake/include