Skip to content

Commit

Permalink
all: Remove CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
Browse files Browse the repository at this point in the history
Module has been removed and replaced with API for requesting
no MRAM latency. By default MRAM latency is enabled and it
needs to be explicitly enabled.

Signed-off-by: Krzysztof Chruściński <[email protected]>
  • Loading branch information
nordic-krch authored and NordicBuilder committed Dec 3, 2024
1 parent 42f7857 commit f54247b
Show file tree
Hide file tree
Showing 46 changed files with 4 additions and 52 deletions.
3 changes: 1 addition & 2 deletions samples/suit/flash_companion/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ CONFIG_FLASH=y
# Disable power management
CONFIG_PM=n

# Disable GPD service, MRAM latency service and NRFS
# Disable GPD service and NRFS
CONFIG_SOC_NRF54H20_GPD=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
CONFIG_NRFS=n

# Disable unneeded interrupt features
Expand Down
1 change: 0 additions & 1 deletion subsys/bluetooth/controller/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ config BT_LL_SOFTDEVICE
select BT_CTLR_LE_PATH_LOSS_MONITORING_SUPPORT
select BT_CTLR_SUBRATING_SUPPORT
select BT_LL_SOFTDEVICE_HEADERS_INCLUDE
select SOC_NRF54H20_NO_MRAM_LATENCY if SOC_NRF54H20_CPURAD
depends on (SOC_SERIES_BSIM_NRFXX || SOC_SERIES_NRF52X || SOC_COMPATIBLE_NRF5340_CPUNET ||\
SOC_NRF54H20_CPURAD || SOC_SERIES_NRF54LX)
depends on DT_HAS_NORDIC_BT_HCI_SDC_ENABLED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ tests:
- CONFIG_PM_S2RAM=y
- CONFIG_PM_S2RAM_CUSTOM_MARKING=y
- CONFIG_BOOT_BANNER=n
- CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
harness: pytest
harness_config:
fixture: ppk_power_measure
Expand Down
9 changes: 3 additions & 6 deletions tests/benchmarks/multicore/idle/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ tests:
CONFIG_FIRST_SLEEP_OFFSET=y
CONFIG_PM=y CONFIG_PM_S2RAM=y CONFIG_POWEROFF=y CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_CONSOLE=n CONFIG_UART_CONSOLE=n CONFIG_SERIAL=n CONFIG_GPIO=n CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
remote_CONFIG_PM=y remote_CONFIG_POWEROFF=y remote_CONFIG_CONSOLE=n
remote_CONFIG_UART_CONSOLE=n remote_CONFIG_SERIAL=n remote_CONFIG_GPIO=n
remote_CONFIG_BOOT_BANNER=n remote_CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
remote_CONFIG_BOOT_BANNER=n
harness: pytest
harness_config:
fixture: ppk_power_measure
Expand All @@ -93,10 +92,9 @@ tests:
CONFIG_FIRST_SLEEP_OFFSET=y
CONFIG_PM=y CONFIG_PM_S2RAM=y CONFIG_POWEROFF=y CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_CONSOLE=n CONFIG_UART_CONSOLE=n CONFIG_SERIAL=n CONFIG_GPIO=n CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
remote_CONFIG_PM=y remote_CONFIG_POWEROFF=y remote_CONFIG_CONSOLE=n
remote_CONFIG_UART_CONSOLE=n remote_CONFIG_SERIAL=n remote_CONFIG_GPIO=n
remote_CONFIG_BOOT_BANNER=n remote_CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
remote_CONFIG_BOOT_BANNER=n
DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_ram_high_usage.overlay"
harness: pytest
harness_config:
Expand All @@ -115,10 +113,9 @@ tests:
CONFIG_FIRST_SLEEP_OFFSET=y
CONFIG_PM=y CONFIG_PM_S2RAM=y CONFIG_POWEROFF=y CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_CONSOLE=n CONFIG_UART_CONSOLE=n CONFIG_SERIAL=n CONFIG_GPIO=n CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
remote_CONFIG_PM=y remote_CONFIG_POWEROFF=y remote_CONFIG_CONSOLE=n
remote_CONFIG_UART_CONSOLE=n remote_CONFIG_SERIAL=n remote_CONFIG_GPIO=n
remote_CONFIG_BOOT_BANNER=n remote_CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
remote_CONFIG_BOOT_BANNER=n
DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_ram_low_usage.overlay"
harness: pytest
harness_config:
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_adc/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
CONFIG_POWEROFF=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
CONFIG_ASSERT=y

# Enable for debugging purposes only
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_adc/remote/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_clock_control/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ CONFIG_POWEROFF=y

CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_NRFS=y
CONFIG_CLOCK_CONTROL=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_comp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
CONFIG_POWEROFF=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
CONFIG_ASSERT=y

# Enable for debugging purposes only
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_comp/remote/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_gpio/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_GPIO=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_gpio/remote/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_GPIO=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_hpu_temp_meas/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ CONFIG_POWEROFF=y

CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_ASSERT=y

Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_outside_of_main/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ CONFIG_POWEROFF=y

CONFIG_BOOT_BANNER=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

# Enable for debugging purposes only
CONFIG_SERIAL=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ CONFIG_SERIAL=n
CONFIG_GPIO=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_ppr/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ CONFIG_PM=y
CONFIG_PM_S2RAM=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_POWEROFF=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_ppr/remote/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_ASSERT=y
CONFIG_GPIO=y
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_pwm_led/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_PWM=y
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_PWM=y
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ CONFIG_PM=y
CONFIG_PM_S2RAM=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_POWEROFF=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
CONFIG_PM=y
CONFIG_POWEROFF=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_spim/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
CONFIG_POWEROFF=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_ASSERT=y

Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_spim/remote/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ CONFIG_PM=y
CONFIG_PM_S2RAM=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_POWEROFF=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_stm/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ CONFIG_PM=y
CONFIG_PM_S2RAM=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_POWEROFF=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_stm/remote/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_twim/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ CONFIG_POWEROFF=y

CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_ASSERT=y

Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_twim/remote/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_uarte/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ CONFIG_POWEROFF=y

CONFIG_BOOT_BANNER=n
CONFIG_ASSERT=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

# Enable for debugging purposes only
CONFIG_PRINTK=n
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_usb/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ CONFIG_PM_DEVICE_RUNTIME=y
CONFIG_POWEROFF=y

CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

# Enable for debugging purposes only
CONFIG_PRINTK=y
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_wdt/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ CONFIG_PM=y
CONFIG_PM_S2RAM=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_POWEROFF=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
Expand Down
1 change: 0 additions & 1 deletion tests/benchmarks/multicore/idle_wdt/remote/prj_s2ram.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_WATCHDOG=y
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/adc/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/adc_async/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_GPIO=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/flash/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/gpio/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

CONFIG_ASSERT=y
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/i2c/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/lpcomp/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_POWEROFF=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
CONFIG_ASSERT=y
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ CONFIG_PM=y
CONFIG_PM_S2RAM=y
CONFIG_POWEROFF=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/spi/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ CONFIG_PM=y
CONFIG_PM_S2RAM=y
CONFIG_POWEROFF=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/timer_waiting/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_SERIAL=n
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/uart_async/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ CONFIG_PM_S2RAM=y
CONFIG_POWEROFF=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/uart_interrupt/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ CONFIG_PM_S2RAM=y
CONFIG_POWEROFF=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n
1 change: 0 additions & 1 deletion tests/benchmarks/power_consumption/uart_polling/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ CONFIG_PM_S2RAM=y
CONFIG_POWEROFF=y
CONFIG_PM_S2RAM_CUSTOM_MARKING=y
CONFIG_BOOT_BANNER=n
CONFIG_SOC_NRF54H20_NO_MRAM_LATENCY=n

0 comments on commit f54247b

Please sign in to comment.