Lines Matching full:if

16 	select MPU_ALLOW_FLASH_WRITE if ARM_MPU
17 select USE_DT_CODE_PARTITION if HAS_FLASH_LOAD_OFFSET
31 Hidden option set if using PSA crypt for cryptography functionality
40 select MBEDTLS_PROMPTLESS if ZEPHYR_MBEDTLS_MODULE
66 if BOOT_USE_MBEDTLS && MBEDTLS_BUILTIN
118 default BOOT_IMG_HASH_ALG_SHA256 if BOOT_IMG_HASH_ALG_SHA256_ALLOW
119 default BOOT_IMG_HASH_ALG_SHA384 if BOOT_IMG_HASH_ALG_SHA384_ALLOW
120 default BOOT_IMG_HASH_ALG_SHA512 if BOOT_IMG_HASH_ALG_SHA512_ALLOW
167 select MBEDTLS_ASN1_PARSE_C if MBEDTLS_BUILTIN
168 select MBEDTLS_KEY_EXCHANGE_RSA_ENABLED if MBEDTLS_BUILTIN
171 select BOOT_AES_MBEDTLS_DEPENDENCIES if MBEDTLS_BUILTIN && BOOT_ENCRYPT_IMAGE
173 if BOOT_SIGNATURE_TYPE_RSA
185 if BOOT_SIGNATURE_TYPE_ECDSA_P256
206 select BOOT_ENCRYPTION_SUPPORT if !BOOT_SIGNATURE_TYPE_PURE
207 select BOOT_IMG_HASH_ALG_SHA256_ALLOW if !BOOT_SIGNATURE_TYPE_PURE
216 if BOOT_SIGNATURE_TYPE_ED25519
239 select MBEDTLS_ASN1_PARSE_C if MBEDTLS_BUILTIN
240 select BOOT_AES_MBEDTLS_DEPENDENCIES if MBEDTLS_BUILTIN && BOOT_ENCRYPT_IMAGE
249 default "root-ec-p256.pem" if BOOT_SIGNATURE_TYPE_ECDSA_P256
250 default "root-ed25519.pem" if BOOT_SIGNATURE_TYPE_ED25519
251 default "root-rsa-3072.pem" if BOOT_SIGNATURE_TYPE_RSA && BOOT_SIGNATURE_TYPE_RSA_LEN=3072
252 default "root-rsa-2048.pem" if BOOT_SIGNATURE_TYPE_RSA && BOOT_SIGNATURE_TYPE_RSA_LEN=2048
258 located. If the key file is not there, the build system uses relative
286 if MBEDTLS
289 default "config-tls-generic.h" if MBEDTLS_BUILTIN
290 default "mcuboot-mbedtls-cfg.h" if BOOT_USE_MBEDTLS
299 in MCUBoot. If enabled the public key is appended to the signed image
307 If y, the bootloader attempts to validate the signature of the
317 If y, the bootloader attempts to validate the signature of the
322 If unsure, leave at the default value.
327 If y, the BOOT_IMAGE_UPGRADE_MODE will default to using "offset" instead of "scratch".
333 default y if SOC_FAMILY_NORDIC_NRF
334 default y if !$(dt_nodelabel_enabled,scratch_partition)
336 If y, the BOOT_IMAGE_UPGRADE_MODE will default to using
343 if !SINGLE_APPLICATION_SLOT
346 default BOOT_SWAP_USING_OFFSET if BOOT_PREFER_SWAP_OFFSET
347 default BOOT_SWAP_USING_MOVE if BOOT_PREFER_SWAP_MOVE
359 If y, overwrite the primary slot with the upgrade image instead
366 If y, the swap upgrade is done by each sector X+1 in the secondary slot moved index X in
377 If y, the swap upgrade is done in two steps, where first every
389 If y, mcuboot selects the newest valid image based on the image version
398 If y, mcuboot selects the newest valid image based on the image version
407 If y, mcuboot will have a single application slot, and the secondary
423 If y, enables the revert mechanism in direct-xip similar to the one in
434 If y, enables bootstraping support. Bootstrapping allows an erased
436 If unsure, leave at the default value.
443 If y, instead of saving the encrypted image keys in plaintext in the
446 slot from being dumped. If n is selected (default), the keys are written
450 If unsure, leave at the default value.
457 If y, the image is loaded to RAM and executed from there. For this reason,
465 if BOOT_RAM_LOAD || SINGLE_APPLICATION_SLOT_RAM_LOAD
489 Hidden option used to check if image encryption is supported.
494 select BOOT_ENCRYPT_RSA if BOOT_SIGNATURE_TYPE_RSA
495 select BOOT_ENCRYPT_EC256 if BOOT_SIGNATURE_TYPE_ECDSA_P256
496 select BOOT_ENCRYPT_X25519 if BOOT_SIGNATURE_TYPE_ED25519
499 If y, images in the secondary slot can be encrypted and are decrypted
532 default "enc-rsa2048-priv.pem" if BOOT_ENCRYPT_RSA
533 default "enc-ec256-priv.pem" if BOOT_ENCRYPT_EC256
534 default "enc-x25519-priv.pem" if BOOT_ENCRYPT_X25519
540 located. If the key file is not there, the build system uses relative
550 If this option is enabled then the maximum number of supported sectors per image will
554 If this information is not available, or multiple images are used, then this option
565 If unsure, leave at the default value.
571 Hidden open which indicates if there is a sharing backend available.
580 Hidden open which indicates if there is a sharing backend available.
636 If enabled, the bootloader will store certain boot measurements such as
697 bool "Wait for a prescribed duration to see if USB DFU is invoked"
704 If y, MCUboot waits for a prescribed duration of time to allow
716 If y, MCUboot uses GPIO to detect whether to invoke USB DFU.
727 if BOOT_USB_DFU_GPIO
740 bool "Stay in bootloader if no application"
742 Allows for entering USB DFU recovery mode if there is no bootable
749 If y, adds support for simple benchmarking that can record
761 default 2048 if COVERAGE_GCOV
762 default 1024 if NO_OPTIMIZATIONS
763 default 1024 if XTENSA
764 default 4096 if (X86 && X86_64)
765 default 4096 if ARM64
788 Select this option if application requires vector relocation,
794 range 1 1 if SINGLE_APPLICATION_SLOT || SINGLE_APPLICATION_SLOT_RAM_LOAD
844 default y if WATCHDOG
845 default y if SOC_FAMILY_NORDIC_NRF
846 imply BOOT_WATCHDOG_FEED_NRFX_WDT if SOC_FAMILY_NORDIC_NRF
918 default "Using Zephyr OS build" if MCUBOOT_BOOT_BANNER
923 Hidden symbol which should be selected if a system provided decompression support.
925 if BOOT_DECOMPRESSION_SUPPORT
930 If enabled, will include support for compressed images being loaded to the secondary slot
934 if BOOT_DECOMPRESSION
954 select MCUBOOT_DEVICE_CPU_CORTEX_M0 if CPU_CORTEX_M0
955 # Enable flash page layout if available
956 select FLASH_PAGE_LAYOUT if FLASH_HAS_PAGE_LAYOUT
964 select SW_VECTOR_RELAY if !CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP
972 # If you know for sure that your hardware will work, you can default
976 default y if BOOT_SERIAL_CDC_ACM #usb driver requires MULTITHREADING
977 default y if BOOT_USB_DFU_GPIO || BOOT_USB_DFU_WAIT
978 default n if SOC_FAMILY_NORDIC_NRF
979 default n if SOC_FAMILY_ESPRESSIF_ESP32 && MCUBOOT
999 default y if BOOT_UPGRADE_ONLY
1003 if swapping is not used (that is, BOOT_UPGRADE_ONLY is set). If a user
1006 though it will not boot. If swapping is enabled this will be handled
1007 since the image will not confirm itself. If, however, swapping is not