Skip to content

Commit 8b4c70a

Browse files
committed
boot: zephyr: Update changed Nordic family Kconfig
Updates a Kconfig that was renamed Signed-off-by: Jamie McCrae <[email protected]>
1 parent b794d33 commit 8b4c70a

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

boot/zephyr/Kconfig

+8-8
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ config BOOT_VALIDATE_SLOT0_ONCE
199199

200200
config BOOT_PREFER_SWAP_MOVE
201201
bool "Prefer the newer swap move algorithm"
202-
default y if SOC_FAMILY_NRF
202+
default y if SOC_FAMILY_NORDIC_NRF
203203
default y if !$(dt_nodelabel_enabled,scratch_partition)
204204
help
205205
If y, the BOOT_IMAGE_UPGRADE_MODE will default to using
@@ -661,13 +661,13 @@ endchoice
661661
config BOOT_WATCHDOG_FEED
662662
bool "Feed the watchdog while doing swap"
663663
default y if WATCHDOG
664-
default y if SOC_FAMILY_NRF
664+
default y if SOC_FAMILY_NORDIC_NRF
665665
# for nRF nrfx based implementation is available
666-
imply NRFX_WDT if SOC_FAMILY_NRF
667-
imply NRFX_WDT0 if SOC_FAMILY_NRF
668-
imply NRFX_WDT1 if SOC_FAMILY_NRF
669-
imply NRFX_WDT30 if SOC_FAMILY_NRF
670-
imply NRFX_WDT31 if SOC_FAMILY_NRF
666+
imply NRFX_WDT if SOC_FAMILY_NORDIC_NRF
667+
imply NRFX_WDT0 if SOC_FAMILY_NORDIC_NRF
668+
imply NRFX_WDT1 if SOC_FAMILY_NORDIC_NRF
669+
imply NRFX_WDT30 if SOC_FAMILY_NORDIC_NRF
670+
imply NRFX_WDT31 if SOC_FAMILY_NORDIC_NRF
671671
help
672672
Enables implementation of MCUBOOT_WATCHDOG_FEED() macro which is
673673
used to feed watchdog while doing time consuming operations.
@@ -721,7 +721,7 @@ comment "Zephyr configuration options"
721721
config MULTITHREADING
722722
default y if BOOT_SERIAL_CDC_ACM #usb driver requires MULTITHREADING
723723
default y if BOOT_USB_DFU_GPIO || BOOT_USB_DFU_WAIT
724-
default n if SOC_FAMILY_NRF
724+
default n if SOC_FAMILY_NORDIC_NRF
725725
default n if SOC_FAMILY_ESPRESSIF_ESP32 && MCUBOOT
726726
default y
727727

boot/zephyr/Kconfig.serial_recovery

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ config BOOT_SERIAL_MAX_RECEIVE_SIZE
9898

9999
config BOOT_ERASE_PROGRESSIVELY
100100
bool "Erase flash progressively when receiving new firmware"
101-
default y if SOC_FAMILY_NRF
101+
default y if SOC_FAMILY_NORDIC_NRF
102102
help
103103
If enabled, flash is erased as necessary when receiving new firmware,
104104
instead of erasing the whole image slot at once. This is necessary

boot/zephyr/include/io/io.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#include <stddef.h>
2323

24-
#ifdef CONFIG_SOC_FAMILY_NRF
24+
#ifdef CONFIG_SOC_FAMILY_NORDIC_NRF
2525
#include <helpers/nrfx_reset_reason.h>
2626
#endif
2727

@@ -62,7 +62,7 @@ bool io_detect_pin_reset(void);
6262
*/
6363
bool io_detect_boot_mode(void);
6464

65-
#ifdef CONFIG_SOC_FAMILY_NRF
65+
#ifdef CONFIG_SOC_FAMILY_NORDIC_NRF
6666
static inline bool io_boot_skip_serial_recovery()
6767
{
6868
uint32_t rr = nrfx_reset_reason_get();

0 commit comments

Comments
 (0)