CONFIG_SPM_SERVICE_PREVALIDATE

Prevalidate B1 upgrades (Requires Immutable Bootloader)

Type: bool

Help

The B0 bootloader allows calls into it for prevalidating upgrades of
the stage it verifies. The B0 bootloader is in secure memory, so this
secure service is needed for the app to access the prevalidation
function.

Direct dependencies

SPM_SECURE_SERVICES

(Includes any dependencies from ifs and menus.)

Default

  • n

Symbols selected by this symbol

Kconfig definition

At <nRF>/subsys/spm/Kconfig:128

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:30

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → SPM

config SPM_SERVICE_PREVALIDATE
    bool "Prevalidate B1 upgrades (Requires Immutable Bootloader)"
    default n
    select SECURE_BOOT_CRYPTO if IS_SPM
    select SECURE_BOOT_VALIDATION if IS_SPM
    select BL_VALIDATE_FW_EXT_API_ATLEAST_OPTIONAL if IS_SPM
    depends on SPM_SECURE_SERVICES
    help
      The B0 bootloader allows calls into it for prevalidating upgrades of
      the stage it verifies. The B0 bootloader is in secure memory, so this
      secure service is needed for the app to access the prevalidation
      function.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)