Skip to content

Commit d84d2f1

Browse files
michalek-nonvlsianpu
authored andcommitted
[nrf noup] boot: zephyr: boards: 54l15 fprotect
nrf-squash! [nrf noup] boot/zephyr: add nrf54l15dk ext flash configs turn protection on by default. Signed-off-by: Mateusz Michalek <[email protected]>
1 parent b37f58b commit d84d2f1

File tree

6 files changed

+14
-29
lines changed

6 files changed

+14
-29
lines changed

boot/zephyr/boards/nrf54l15dk_nrf54l15_cpuapp.conf

Lines changed: 0 additions & 16 deletions
This file was deleted.

boot/zephyr/boards/nrf54l15dk_nrf54l15_cpuapp_ext_flash.conf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,3 @@ CONFIG_BOOT_MAX_IMG_SECTORS=512
88
CONFIG_SPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
99
# Ensure that the qspi driver is disabled by default
1010
CONFIG_NORDIC_QSPI_NOR=n
11-
12-
# TODO: below are not yet supported and need fixing
13-
CONFIG_FPROTECT=n
14-
15-
CONFIG_BOOT_WATCHDOG_FEED=n
16-
17-
# Ensure the fastest RRAM write operations
18-
CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=32

boot/zephyr/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ CONFIG_BOOT_BOOTSTRAP=n
1818
# CONFIG_TINYCRYPT_SHA256 is not set
1919

2020
CONFIG_FLASH=y
21-
CONFIG_FPROTECT=y
2221

2322
### Various Zephyr boards enable features that we don't want.
2423
# CONFIG_BT is not set

boot/zephyr/boards/nrf54l15dk_nrf54l05_cpuapp.conf renamed to boot/zephyr/socs/nrf54l05_cpuapp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ CONFIG_BOOT_MAX_IMG_SECTORS=256
77
# Ensure that the SPI NOR driver is disabled by default
88
CONFIG_SPI_NOR=n
99

10-
CONFIG_FPROTECT=y
11-
1210
CONFIG_BOOT_WATCHDOG_FEED=n
1311

1412
# Ensure the fastest RRAM write operations

boot/zephyr/boards/nrf54l15dk_nrf54l10_cpuapp.conf renamed to boot/zephyr/socs/nrf54l10_cpuapp.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ CONFIG_BOOT_MAX_IMG_SECTORS=256
77
# Ensure that the SPI NOR driver is disabled by default
88
CONFIG_SPI_NOR=n
99

10-
CONFIG_FPROTECT=y
11-
1210
CONFIG_BOOT_WATCHDOG_FEED=n
1311

1412
# Ensure the fastest RRAM write operations

boot/zephyr/socs/nrf54l15_cpuapp.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (c) 2024 Nordic Semiconductor ASA
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
CONFIG_BOOT_MAX_IMG_SECTORS=256
6+
7+
# Ensure that the SPI NOR driver is disabled by default
8+
CONFIG_SPI_NOR=n
9+
10+
CONFIG_BOOT_WATCHDOG_FEED=n
11+
12+
# Ensure the fastest RRAM write operations
13+
CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=32
14+
115
# Link Time Optimizations
216
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
317
CONFIG_LTO=y

0 commit comments

Comments
 (0)