From e6f0827e15b56c54cf797086721b4f9f50fb3838 Mon Sep 17 00:00:00 2001 From: Andrzej Puzdrowski Date: Tue, 17 Dec 2024 16:18:13 +0100 Subject: [PATCH] [nrf fromtree] drivers/flash/Kconfig.nrf_rram: bufferd write by default Enable buffered write for nRF54l RRAM flash driver by default. CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=1 means that write will be buffered by 16 B buffer (native RRAM write-bock-size). This allows optimal life-endurance of RRAM memory. For reference" DTS declares 16 write-block-size already. Signed-off-by: Andrzej Puzdrowski (cherry picked from commit 2cea407afb8c0b92c13afe267e88e1514c6fc03b) --- drivers/flash/Kconfig.nrf_rram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/flash/Kconfig.nrf_rram b/drivers/flash/Kconfig.nrf_rram index 8c45f8b36bb..1e433b66d1e 100644 --- a/drivers/flash/Kconfig.nrf_rram +++ b/drivers/flash/Kconfig.nrf_rram @@ -24,7 +24,7 @@ if SOC_FLASH_NRF_RRAM config NRF_RRAM_WRITE_BUFFER_SIZE int "Internal write-buffer size" default 32 if !SOC_FLASH_NRF_RADIO_SYNC_NONE - default 0 + default 1 range 0 32 help Number of 128-bit words.