summaryrefslogtreecommitdiff
path: root/common/system.c
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2021-04-09 15:55:35 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-23 21:41:36 +0000
commit4e074a16c5703f0cdd7b7d780a8ae1bea53a445a (patch)
treeee55f33d67210001d31d852ba380a27778cbe379 /common/system.c
parentd1156aae265e671c6779026ce52716f42847f9f9 (diff)
downloadchrome-ec-4e074a16c5703f0cdd7b7d780a8ae1bea53a445a.tar.gz
config: rename CONFIG_FLASH to CONFIG_FLASH_CROS
The config name collides with the same config name in zephyr. Also, renames zephyr Kconfig CONFIG_PLATFORM_EC_FLASH to CONFIG_PLATFORM_EC_FLASH_CROS as the corresponding change at Kconfig side. BUG=b:180980668 TEST=make buildall BRANCH=none Change-Id: Ibac008ddff8c041aae04dca0bbf973823abe7640 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2816622 Tested-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common/system.c')
-rw-r--r--common/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system.c b/common/system.c
index 6a96db415f..6b473a33b8 100644
--- a/common/system.c
+++ b/common/system.c
@@ -176,7 +176,7 @@ int system_is_locked(void)
is_locked = 0;
return 0;
-#elif defined(CONFIG_FLASH)
+#elif defined(CONFIG_FLASH_CROS)
/*
* Unlocked if write protect pin deasserted or read-only firmware
* is not protected.