summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/config_chip.h
diff options
context:
space:
mode:
authorTim Lin <tim2.lin@ite.corp-partner.google.com>2021-06-29 17:00:32 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-01 15:01:02 +0000
commit7e023660225971dc0b9edb4889a7ed6dc70b59e8 (patch)
tree641c10020b477181c3413d662aaaf26b7f0dc043 /zephyr/shim/include/config_chip.h
parent300daebbb748a7b5f51bf411adfb985b83c085a4 (diff)
downloadchrome-ec-7e023660225971dc0b9edb4889a7ed6dc70b59e8.tar.gz
zephyr/drivers: npcx: reorganizes the flash driver(3)
Move NPCX specific code crec_flash_physical_get_protect(), crec_flash_physical_get_protect_flags(), crec_flash_physical_protect_at_boot(), and crec_flash_physical_protect_now() from shim/flash.c to cros_flash/cros_flash_npcx.c. BUG=b:187192628 BRANCH=none TEST=zmake -lDEBUG configure -b -B zephyr/build_volteer \ zephyr/projects/volteer/volteer/ Cq-Depend: chromium:2994430 Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com> Change-Id: Id6ed382ad4578969838339c9eb874b323390c485 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2891674 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org> Tested-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/shim/include/config_chip.h')
-rw-r--r--zephyr/shim/include/config_chip.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index 76d4cd9d45..5dcf8f443d 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -335,7 +335,6 @@
#ifdef CONFIG_PLATFORM_EC_FLASH_CROS
#include "flash_chip.h"
#define CONFIG_FLASH_CROS
-#define CONFIG_SPI_FLASH_W25Q80 /* Internal SPI flash type. */
/* Internal, don't use outside this header */
#define _BINMAN_RO_PATH DT_PATH(binman, wp_ro)