Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions soc/nordic/common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ config MRAM_LATENCY_SYNC_TIMEOUT
help
Timeout is given in milliseconds.

config MRAM_LATENCY_AUTO_REQ
bool "Request MRAM without latency at start"
help
When enabled then MRAM configuration without latency is requested
during the initialization and is kept enabled until the mram_latency API user
calls mram_no_latency_sync_release().

module = MRAM_LATENCY
module-str = mram_latency
source "subsys/logging/Kconfig.template.log_config"
Expand Down
4 changes: 4 additions & 0 deletions soc/nordic/common/mram_latency.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ static int init_nrfs(void)

state = MRAM_LATENCY_ON;

if (IS_ENABLED(CONFIG_MRAM_LATENCY_AUTO_REQ)) {
mram_no_latency_sync_request();
}

return rv;
}

Expand Down
Loading