Skip to content

Commit 5e0cb65

Browse files
nordicjmnvlsianpu
authored andcommitted
[nrf noup] boot: zephyr: Update nRF Soc Kconfigs
Updates Kconfigs for SoC selection due to a Kconfig change Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 735d976 commit 5e0cb65

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

boot/zephyr/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ choice BOOT_SIGNATURE_TYPE
248248

249249
config BOOT_SIGNATURE_TYPE_NONE
250250
bool "No signature; use only hash check"
251-
select BOOT_USE_TINYCRYPT if !SOC_SERIES_NRF54LX
252-
select BOOT_USE_PSA_CRYPTO if SOC_SERIES_NRF54LX
251+
select BOOT_USE_TINYCRYPT if !SOC_SERIES_NRF54L
252+
select BOOT_USE_PSA_CRYPTO if SOC_SERIES_NRF54L
253253
select BOOT_IMG_HASH_ALG_SHA256_ALLOW
254254

255255
config BOOT_SIGNATURE_TYPE_RSA
@@ -423,7 +423,7 @@ config BOOT_SIGNATURE_KMU_SLOTS
423423

424424
config NCS_BOOT_SIGNATURE_KMU_UROT_MAPPING
425425
bool "Use original mapping [DEPRECATED]"
426-
depends on SOC_SERIES_NRF54LX
426+
depends on SOC_SERIES_NRF54L
427427
depends on MCUBOOT_MCUBOOT_IMAGE_NUMBER = -1
428428
select DEPRECATED
429429
help
@@ -810,7 +810,7 @@ if BOOT_ENCRYPT_X25519 && BOOT_USE_PSA_CRYPTO
810810

811811
choice BOOT_HMAC_SHA
812812
prompt "SHA used for HMAC and HKDF in encryption key exchange"
813-
default BOOT_HMAC_SHA512 if BOOT_ENCRYPT_X25519 && SOC_SERIES_NRF54LX
813+
default BOOT_HMAC_SHA512 if BOOT_ENCRYPT_X25519 && SOC_SERIES_NRF54L
814814
default BOOT_HMAC_SHA256
815815
help
816816
HMAC/HKDF sha algorithm may be selected to synchronize sha
@@ -1156,7 +1156,7 @@ config MCUBOOT_DOWNGRADE_PREVENTION_SECURITY_COUNTER
11561156
config MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_LIMITED
11571157
bool "HW based downgrade prevention counter has limited number of updates"
11581158
depends on MCUBOOT_HW_DOWNGRADE_PREVENTION
1159-
default y if SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X || SOC_SERIES_NRF54LX
1159+
default y if SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91 || SOC_SERIES_NRF54L
11601160
help
11611161
When this option is set, the hardware downgrade prevention counter
11621162
has limited number of updates. This option will enable checking

boot/zephyr/flash_map_extended.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ BOOT_LOG_MODULE_DECLARE(mcuboot);
6060
#define FLASH_DEVICE_BASE 0
6161
#define FLASH_DEVICE_NODE DT_CHOSEN(zephyr_flash_controller)
6262

63-
#elif (defined(CONFIG_SOC_SERIES_NRF54HX) && DT_HAS_CHOSEN(zephyr_flash))
63+
#elif (defined(CONFIG_SOC_SERIES_NRF54H) && DT_HAS_CHOSEN(zephyr_flash))
6464

6565
#define FLASH_DEVICE_ID SOC_FLASH_0_ID
6666
#define FLASH_DEVICE_BASE CONFIG_FLASH_BASE_ADDRESS

boot/zephyr/include/target.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
/*
3333
* Sanity check the target support.
3434
*/
35-
#if (!defined(CONFIG_XTENSA) && !defined(CONFIG_SOC_SERIES_NRF54HX) && \
35+
#if (!defined(CONFIG_XTENSA) && !defined(CONFIG_SOC_SERIES_NRF54H) && \
3636
!DT_HAS_CHOSEN(zephyr_flash_controller)) || \
3737
(defined(CONFIG_XTENSA) && !DT_NODE_EXISTS(DT_INST(0, jedec_spi_nor)) && \
3838
!defined(CONFIG_SOC_FAMILY_ESPRESSIF_ESP32)) || \
39-
(defined(CONFIG_SOC_SERIES_NRF54HX) && !DT_HAS_CHOSEN(zephyr_flash)) || \
39+
(defined(CONFIG_SOC_SERIES_NRF54H) && !DT_HAS_CHOSEN(zephyr_flash)) || \
4040
!defined(FLASH_ALIGN) || \
4141
!(FIXED_PARTITION_EXISTS(slot0_partition)) || \
4242
!(FIXED_PARTITION_EXISTS(slot1_partition) || CONFIG_SINGLE_APPLICATION_SLOT) || \

boot/zephyr/nrf_cleanup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void nrf_cleanup_peripheral(void)
140140
nrfy_uarte_event_clear(current, NRF_UARTE_EVENT_RXTO);
141141
nrfy_uarte_disable(current);
142142

143-
#ifndef CONFIG_SOC_SERIES_NRF54LX
143+
#ifndef CONFIG_SOC_SERIES_NRF54L
144144
/* Disconnect pins UARTE pins
145145
* causes issues on nRF54l SoCs,
146146
* could be enabled once fix to NCSDK-33039 will be implemented.

0 commit comments

Comments
 (0)