summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.flash
diff options
context:
space:
mode:
authorYuval Peress <peress@google.com>2022-10-04 11:59:02 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-12 23:43:54 +0000
commit297c648ebcf2e62b1da7e2ad13eee4bad83c9545 (patch)
tree50e996c8db3450214cdcb2de6dfab8b036d86805 /zephyr/Kconfig.flash
parentaebccf721edad727dfa011a48eb12ff75015be79 (diff)
downloadchrome-ec-297c648ebcf2e62b1da7e2ad13eee4bad83c9545.tar.gz
test: move spi_flash_reg to its own module
Move the logic of the spi_flash_reg.c from common/ to a separate directory. Also, move the tests. Update the build.mk system to still build this in the same manner as well as CMake to use it as a library. BRANCH=none BUG=b:246839061 TEST=make BOARD=dooly TEST=zmake build hoglin TEST=./twister -T common Signed-off-by: Yuval Peress <peress@google.com> Change-Id: Icc6b4fce1619c2c6a86c040f30390b7788171a9d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3935025 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Aaron Massey <aaronmassey@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'zephyr/Kconfig.flash')
-rw-r--r--zephyr/Kconfig.flash11
1 files changed, 0 insertions, 11 deletions
diff --git a/zephyr/Kconfig.flash b/zephyr/Kconfig.flash
index b8b176e987..d6812a2ce9 100644
--- a/zephyr/Kconfig.flash
+++ b/zephyr/Kconfig.flash
@@ -4,17 +4,6 @@
if PLATFORM_EC_FLASH_CROS
-config PLATFORM_EC_SPI_FLASH_REGS
- bool "Enable SPI flash registers"
- default y if SOC_FAMILY_MEC
- default y if SOC_FAMILY_NPCX
- help
- Enables flash registers for SPI flash (both internal and external).
- When enabled, two new functions will become available: (1) a function
- to compute the block write protection range from a set of status
- registers, and (2) the inverse function to set the status registers
- based on the desired protection offset/length.
-
config PLATFORM_EC_CONSOLE_CMD_CHARGEN
bool "Console command: chargen"
depends on UART_INTERRUPT_DRIVEN