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>
This commit is contained in:
Vic Yang
2013-10-13 15:58:39 +08:00
committed by chrome-internal-fetch
parent c5b90d7e77
commit c856d14424

View File

@@ -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