summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-02-09 13:05:33 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-09 23:07:12 +0000
commitb5126692c44b82ff7d00ad11b55393fd3b9de9f9 (patch)
treeb6cf6eea5ba68521b3ea2ace266df78b3b621595
parentacdeee0e728c5b67ac495ccc9bf1afd746dd8a74 (diff)
downloadchrome-ec-b5126692c44b82ff7d00ad11b55393fd3b9de9f9.tar.gz
zephyr: Define CONFIG_CHIP_PRE_INIT
This is not used on the Zephyr side. We can perhaps add a Kconfig option to enable JTAG. BUG=b:179809145 BRANCH=none TEST=build for zephyr Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I6e06233bfb690c6c1b3ec72bcde55b2cb2d94a50 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2686247 Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--zephyr/shim/include/config_chip.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index 504081962e..98d090e099 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -55,6 +55,13 @@
#undef CONFIG_CRC8
#define CONFIG_CRC8
+/*
+ * This is not used by the Zephyr code.
+ * Define it here to reduce the delta from the ECOS CONFIG.
+ */
+#undef CONFIG_CHIP_PRE_INIT
+#define CONFIG_CHIP_PRE_INIT
+
/* EC chipset configuration */
#define HOOK_TICK_INTERVAL CONFIG_CROS_EC_HOOK_TICK_INTERVAL