summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2023-04-05 16:16:13 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-05 18:15:38 +0000
commit26f81823dac891106ba8b097b1524b2004462e24 (patch)
tree81200d1a46e2b205540ffdecbb2e96c340632c8f
parent855cf7675dda0d2119c9869c7eb97139cf503636 (diff)
downloadchrome-ec-26f81823dac891106ba8b097b1524b2004462e24.tar.gz
ec: Don't undef CONFIG_RTC if CONFIG_ZEPHYR
This one was missed earlier. For all Kconfigs, don't undef them in config.h if we are building for zephyr. BRANCH=None BUG=b:272518464 TEST=make buildall_only -j$(nproc) TEST=CQ TEST=zmake compare-builds -a Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: Ic63a3834ae3a24269da79ae57131db3be9aef943 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4400340 Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
-rw-r--r--include/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 93226bc43f..a892593dde 100644
--- a/include/config.h
+++ b/include/config.h
@@ -3837,8 +3837,10 @@
#undef CONFIG_RGBKBD_DEMO_FLOW
#undef CONFIG_RGBKBD_DEMO_DOT
+#ifndef CONFIG_ZEPHYR
/* Support Real-Time Clock (RTC) */
#undef CONFIG_RTC
+#endif /* CONFIG_ZEPHYR */
/* Size of each RAM bank in chip, default is CONFIG_RAM_SIZE */
#undef CONFIG_RAM_BANK_SIZE