summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.flash
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 /zephyr/Kconfig.flash
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 'zephyr/Kconfig.flash')
-rw-r--r--zephyr/Kconfig.flash4
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/Kconfig.flash b/zephyr/Kconfig.flash
index 74ec9521ed..e79732d928 100644
--- a/zephyr/Kconfig.flash
+++ b/zephyr/Kconfig.flash
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-if PLATFORM_EC_FLASH
+if PLATFORM_EC_FLASH_CROS
config PLATFORM_EC_SPI_FLASH_REGS
bool "Enable SPI flash registers"
@@ -110,4 +110,4 @@ config PLATFORM_EC_MAPPED_STORAGE
If this is not defined, the flash driver must implement
flash_physical_read().
-endif # PLATFORM_EC_FLASH
+endif # PLATFORM_EC_FLASH_CROS