Skip to content

Commit 117dff9

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 e65fe90 commit 117dff9

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

boot/zephyr/Kconfig

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

254254
config BOOT_SIGNATURE_TYPE_NONE
255255
bool "No signature; use only hash check"
256-
select BOOT_USE_TINYCRYPT if !SOC_SERIES_NRF54LX
257-
select BOOT_USE_PSA_CRYPTO if SOC_SERIES_NRF54LX
256+
select BOOT_USE_TINYCRYPT if !SOC_SERIES_NRF54L
257+
select BOOT_USE_PSA_CRYPTO if SOC_SERIES_NRF54L
258258
select BOOT_IMG_HASH_ALG_SHA256_ALLOW
259259

260260
config BOOT_SIGNATURE_TYPE_RSA
@@ -432,7 +432,7 @@ config BOOT_SIGNATURE_KMU_SLOTS
432432

433433
config NCS_BOOT_SIGNATURE_KMU_UROT_MAPPING
434434
bool "Use original mapping [DEPRECATED]"
435-
depends on SOC_SERIES_NRF54LX
435+
depends on SOC_SERIES_NRF54L
436436
depends on MCUBOOT_MCUBOOT_IMAGE_NUMBER = -1
437437
select DEPRECATED
438438
help
@@ -819,7 +819,7 @@ if BOOT_ENCRYPT_X25519 && BOOT_USE_PSA_CRYPTO
819819

820820
choice BOOT_HMAC_SHA
821821
prompt "SHA used for HMAC and HKDF in encryption key exchange"
822-
default BOOT_HMAC_SHA512 if BOOT_ENCRYPT_X25519 && SOC_SERIES_NRF54LX
822+
default BOOT_HMAC_SHA512 if BOOT_ENCRYPT_X25519 && SOC_SERIES_NRF54L
823823
default BOOT_HMAC_SHA256
824824
help
825825
HMAC/HKDF sha algorithm may be selected to synchronize sha
@@ -1165,7 +1165,7 @@ config MCUBOOT_DOWNGRADE_PREVENTION_SECURITY_COUNTER
11651165
config MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_LIMITED
11661166
bool "HW based downgrade prevention counter has limited number of updates"
11671167
depends on MCUBOOT_HW_DOWNGRADE_PREVENTION
1168-
default y if SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91X || SOC_SERIES_NRF54LX
1168+
default y if SOC_NRF5340_CPUAPP || SOC_SERIES_NRF91 || SOC_SERIES_NRF54L
11691169
help
11701170
When this option is set, the hardware downgrade prevention counter
11711171
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) || \

0 commit comments

Comments
 (0)