summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-10-13 15:58:39 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-15 15:29:52 +0000
commitc856d14424e7dc4a9cd29e5877cf07db0b04ebca (patch)
tree76fc0a2b5202e29f1a4f7a4634ea075f6b5cc4e3
parentc5b90d7e77511e45f2c0021c1a0bc18b09310933 (diff)
downloadchrome-ec-c856d14424e7dc4a9cd29e5877cf07db0b04ebca.tar.gz
Do not compile Baytrail chipset code if chipset task is absent
Like other chipset code files, we shouldn't compile Baytrail chipset code if chipset task is absent. BUG=None TEST=basic tests now compile on Rambi without error BRANCH=None Change-Id: I231de06310b2e0d7ff7b3e1e21bbff89636cd5c0 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/172980 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index e44a97e96c..54760d245e 100644
--- a/include/config.h
+++ b/include/config.h
@@ -763,6 +763,7 @@
#endif
#ifndef HAS_TASK_CHIPSET
+#undef CONFIG_CHIPSET_BAYTRAIL
#undef CONFIG_CHIPSET_GAIA
#undef CONFIG_CHIPSET_HASWELL
#undef CONFIG_CHIPSET_IVYBRIDGE