summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2018-03-07 17:03:10 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-03-16 05:18:38 +0000
commit58107aae7aa0e35fc55350da51931df6a1902a4b (patch)
treeaa423d8e1a0a6827330aedf000f1b532425e40c7 /include/config.h
parent573ef04d67512e7a557324dd63dff2cbf17f63df (diff)
downloadchrome-ec-58107aae7aa0e35fc55350da51931df6a1902a4b.tar.gz
ec: Add /baseboard to EC project
This CL introduces /baseboard to the EC project which can contain config options and code which is specific to certain family, but can be shared among the board derivatives of that family. Only the infrastructure changes are included with an empty baseboard.c/.h for octopus. BRANCH=none BUG=b:74358864 TEST='make buildall' and ensure that all boards build successfully. In addition, temporarily moved config options for USB-C and charger to baseboard.h and tested that 'make BOARD=yorp' is successful. Change-Id: I16656574f835c56598a9d2bf49bc1e946d71fe76 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/954444 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org> (cherry picked from commit 514c3b3e26edb3b05b466c5569894808cfdc4a91) Reviewed-on: https://chromium-review.googlesource.com/965427 Commit-Queue: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Trybot-Ready: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index a9ba707b97..8eb6389792 100644
--- a/include/config.h
+++ b/include/config.h
@@ -3268,6 +3268,9 @@
#endif
#include "config_chip.h"
+#ifdef HAS_BASEBOARD
+#include "baseboard.h"
+#endif
#include "board.h"
/******************************************************************************/