summaryrefslogtreecommitdiff
path: root/baseboard/intelrvp/baseboard.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2021-03-17 13:28:07 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-19 22:14:44 +0000
commitc7738c3ed7fe1afba5bc2e734ce84acd9291b515 (patch)
tree60fe989a8e99046e461bf72570b6d0aca87851e1 /baseboard/intelrvp/baseboard.h
parent1275c78e5e75df6e9016015051ae0452b148f83b (diff)
downloadchrome-ec-c7738c3ed7fe1afba5bc2e734ce84acd9291b515.tar.gz
intelrvp: Add support for NPCX EC configs
Added base code to support NPCX EC on Intel RVP. Respective board files can reference these configs for easier integration. BUG=b:181967246 BRANCH=none TEST=make buildall -j Change-Id: I4bf7570093c267ca4edb45d115585982f62d4623 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2770179 Reviewed-by: Poornima Tom <poornima.tom@intel.com> Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'baseboard/intelrvp/baseboard.h')
-rw-r--r--baseboard/intelrvp/baseboard.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/baseboard/intelrvp/baseboard.h b/baseboard/intelrvp/baseboard.h
index 7ec90f0507..6d6ebb4c2f 100644
--- a/baseboard/intelrvp/baseboard.h
+++ b/baseboard/intelrvp/baseboard.h
@@ -12,10 +12,12 @@
#ifdef VARIANT_INTELRVP_EC_IT8320
#include "ite_ec.h"
-/* VARIANT_INTELRVP_EC_IT8320 */
#elif defined(VARIANT_INTELRVP_EC_MCHP)
#include "mchp_ec.h"
-/* VARIANT_INTELRVP_EC_MCHP */
+#elif defined(VARIANT_INTELRVP_EC_NPCX)
+ #include "npcx_ec.h"
+#else
+ #error "Define EC chip variant"
#endif
/*