summaryrefslogtreecommitdiff
path: root/zephyr/projects/it8xxx2_evb/prj.conf
diff options
context:
space:
mode:
authorTim Lin <tim2.lin@ite.corp-partner.google.com>2021-06-25 10:28:10 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-02 17:30:36 +0000
commitab6303a9ff68de8a3cf09c24ee6457f08b98582e (patch)
tree0ac81d0b792b076135755fbd6d865ab3f79309ee /zephyr/projects/it8xxx2_evb/prj.conf
parentc3d4776d408cb1c73795c9cfac977b6cf6893942 (diff)
downloadchrome-ec-ab6303a9ff68de8a3cf09c24ee6457f08b98582e.tar.gz
zephyr: it8xxx2_evb: enable flash driver
Enable flash driver and access by console commands. BUG=b:187192628 BRANCH=none TEST=console cmd: "flashread 0 0x100" "flashwrite 0x80000 0x100" "flasherase 0x80000 0x1000" Cq-Depend: chromium:2981388 Cq-Depend: chromium:2991399 Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com> Change-Id: I226925f8bd1ae672bf0a97e61d9210ebefe67bc1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2952803 Tested-by: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/it8xxx2_evb/prj.conf')
-rw-r--r--zephyr/projects/it8xxx2_evb/prj.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/it8xxx2_evb/prj.conf b/zephyr/projects/it8xxx2_evb/prj.conf
index 8b1980cb91..2f975a6b86 100644
--- a/zephyr/projects/it8xxx2_evb/prj.conf
+++ b/zephyr/projects/it8xxx2_evb/prj.conf
@@ -18,6 +18,7 @@ CONFIG_PLATFORM_EC_I2C=y
# Flash
CONFIG_PLATFORM_EC_FLASH_CROS=y
+CONFIG_PLATFORM_EC_CONSOLE_CMD_FLASH=y
# Lid switch
CONFIG_PLATFORM_EC_LID_SWITCH=y