diff options
author | Tim Lin <tim2.lin@ite.corp-partner.google.com> | 2021-06-29 17:00:32 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-01 15:01:02 +0000 |
commit | 7e023660225971dc0b9edb4889a7ed6dc70b59e8 (patch) | |
tree | 641c10020b477181c3413d662aaaf26b7f0dc043 /zephyr/CMakeLists.txt | |
parent | 300daebbb748a7b5f51bf411adfb985b83c085a4 (diff) | |
download | chrome-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/CMakeLists.txt')
-rw-r--r-- | zephyr/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index 4dc19b6129..fddc63cc2e 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -205,8 +205,7 @@ zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_EXTPOWER_GPIO zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_FAN "${PLATFORM_EC}/common/fan.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_FLASH_CROS - "${PLATFORM_EC}/common/flash.c" - "${PLATFORM_EC}/common/spi_flash_reg.c") + "${PLATFORM_EC}/common/flash.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_HOSTCMD "${PLATFORM_EC}/common/host_command.c") zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_HOSTCMD |