1# Copyright (c) 2025 Basalte bv
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig NVMEM
5	bool "Non Volatile Memory (NVMEM)"
6
7if NVMEM
8
9config NVMEM_EEPROM
10	bool "NVMEM support for EEPROM devices"
11	default y
12	depends on EEPROM
13
14config NVMEM_FLASH
15	bool "NVMEM (read) support for flash devices"
16	default y
17	depends on FLASH
18
19config NVMEM_FLASH_WRITE
20	bool "NVMEM write support for flash devices"
21	depends on NVMEM_FLASH
22	help
23	  Allow writing to NVMEM cells in flash devices.
24
25	  An explicit option is added for this as it's non-trivial
26	  to write to flash devices requiring out-of-bands erase or
27	  taking write-block sizes into account.
28
29module = NVMEM
30module-str = nvmem
31source "subsys/logging/Kconfig.template.log_config"
32
33endif # NVMEM
34