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

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:26

Menu path: (Top) → Modules → 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.)