drivers: flash: rram: Make rram flash timeout multiplier user selectable

Make flash timeout multiplier user selectable for rram flash driver

Signed-off-by: Pierce Lowe <pierce.lowe@nordicsemi.no>
This commit is contained in:
Pierce Lowe 2023-11-10 09:23:49 +01:00 committed by Carles Cufí
parent e40dc3879d
commit 609b864537

View file

@ -57,8 +57,13 @@ config SOC_FLASH_NRF_RADIO_SYNC_NONE
endchoice endchoice
config SOC_FLASH_NRF_TIMEOUT_MULTIPLIER config SOC_FLASH_NRF_TIMEOUT_MULTIPLIER
int int "Multiplier for flash operation timeouts [x0.1]"
depends on !SOC_FLASH_NRF_RADIO_SYNC_NONE depends on !SOC_FLASH_NRF_RADIO_SYNC_NONE
default 1 default 1
help
This is a multiplier that will be divided by 10 that is applied
to the flash erase and write operations timeout. The base for
the multiplication would allow erasing all nRF flash pages in
blocking mode.
endif # SOC_FLASH_NRF_RRAM endif # SOC_FLASH_NRF_RRAM