diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-04-29 10:45:22 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-30 12:00:14 +0200 |
commit | 9616f3ceb7e6bb2a55b0de01a5364fca011a1ecb (patch) | |
tree | 21c39434e204ce2732d1f85f64154acbb6936b50 /src/soc/intel/common | |
parent | ae5ab604d51815bfed964017fad815c002aca9fe (diff) | |
download | coreboot-9616f3ceb7e6bb2a55b0de01a5364fca011a1ecb.tar.xz |
kbuild: Don't require intel/common changes for every soc
In the true spirit of separating components more strictly
and allowing to add new components to coreboot without touching
existing code, move Intel common code selection to the soc
Kconfig and out of src/soc/intel/common/Makefile.inc
Change-Id: I0a70656bb9f4550b6088e9f45e68b5106c0eb9af
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/10031
Tested-by: build bot (Jenkins)
Reviewed-by: Leroy P Leahy <leroy.p.leahy@intel.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r-- | src/soc/intel/common/Kconfig | 5 | ||||
-rw-r--r-- | src/soc/intel/common/Makefile.inc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/soc/intel/common/Kconfig b/src/soc/intel/common/Kconfig index 1dce4e3a6c..8b5cef354e 100644 --- a/src/soc/intel/common/Kconfig +++ b/src/soc/intel/common/Kconfig @@ -1,3 +1,8 @@ +config SOC_INTEL_COMMON + bool + help + common code for Intel SOCs + if HAVE_MRC config CACHE_MRC_SETTINGS diff --git a/src/soc/intel/common/Makefile.inc b/src/soc/intel/common/Makefile.inc index 46786e2d1a..6d40aa7037 100644 --- a/src/soc/intel/common/Makefile.inc +++ b/src/soc/intel/common/Makefile.inc @@ -1,4 +1,4 @@ -ifeq ($(CONFIG_SOC_INTEL_BAYTRAIL)$(CONFIG_SOC_INTEL_BROADWELL),y) +ifeq ($(CONFIG_SOC_INTEL_COMMON),y) ramstage-y += hda_verb.c ramstage-$(CONFIG_CACHE_MRC_SETTINGS) += nvm.c |