[coreboot-gerrit] Change in coreboot[master]: soc/intel/common: Make infrastructure ready for Intel common non-ip code

Subrata Banik (Code Review) gerrit at coreboot.org
Thu Apr 19 07:12:22 CEST 2018


Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/25734


Change subject: soc/intel/common: Make infrastructure ready for Intel common non-ip code
......................................................................

soc/intel/common: Make infrastructure ready for Intel common non-ip code

Select all Kconfig belongs into Intel SoC Family basecode/non-ips common
code model and include required headers from include/intelbasecode/ files.

BUG=b:78109109

Change-Id: Iac99b4346e8bf6e260b00be9fefede5ad7b3e778
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/soc/intel/common/Kconfig
A src/soc/intel/common/basecode/Kconfig
A src/soc/intel/common/basecode/Makefile.inc
3 files changed, 21 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/25734/1

diff --git a/src/soc/intel/common/Kconfig b/src/soc/intel/common/Kconfig
index 6df62b6..8ee1194 100644
--- a/src/soc/intel/common/Kconfig
+++ b/src/soc/intel/common/Kconfig
@@ -8,6 +8,9 @@
 comment "Intel SoC Common Code"
 source "src/soc/intel/common/block/Kconfig"
 
+comment "Intel SoC Common Non-IP Code"
+source "src/soc/intel/common/basecode/Kconfig"
+
 config DISPLAY_MTRRS
 	bool "MTRRs: Display the MTRR settings"
 	default n
diff --git a/src/soc/intel/common/basecode/Kconfig b/src/soc/intel/common/basecode/Kconfig
new file mode 100644
index 0000000..74c998f
--- /dev/null
+++ b/src/soc/intel/common/basecode/Kconfig
@@ -0,0 +1,11 @@
+config SOC_INTEL_COMMON_BASECODE
+	bool
+	help
+	  Non-IP common code driver for intel platform
+
+if SOC_INTEL_COMMON_BASECODE
+
+comment "Intel platform Common Non-IP Code"
+source "src/soc/intel/common/basecode/*/Kconfig"
+
+endif
diff --git a/src/soc/intel/common/basecode/Makefile.inc b/src/soc/intel/common/basecode/Makefile.inc
new file mode 100644
index 0000000..7fdd0e5
--- /dev/null
+++ b/src/soc/intel/common/basecode/Makefile.inc
@@ -0,0 +1,7 @@
+ifeq ($(CONFIG_SOC_INTEL_COMMON_BASECODE),y)
+
+subdirs-y += ./*
+
+CPPFLAGS_common += -I$(src)/soc/intel/common/basecode/include/
+
+endif

-- 
To view, visit https://review.coreboot.org/25734
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac99b4346e8bf6e260b00be9fefede5ad7b3e778
Gerrit-Change-Number: 25734
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180419/988be698/attachment.html>


More information about the coreboot-gerrit mailing list