Jianliang Shen | f57c6a7 | 2023-02-20 14:04:38 +0800 | [diff] [blame] | 1 | |
| 2 | #------------------------------------------------------------------------------- |
| 3 | # Copyright (c) 2023, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | #------------------------------------------------------------------------------- |
| 8 | |
| 9 | rsource "bl1/Kconfig" |
| 10 | rsource "bl2/ext/mcuboot/Kconfig" |
| 11 | |
| 12 | menu "BL options" |
| 13 | |
| 14 | config CONFIG_TFM_BOOT_STORE_MEASUREMENTS |
| 15 | bool "Store measurement values from all the boot stages" |
| 16 | default y |
| 17 | help |
| 18 | Used for initial attestation token. |
| 19 | |
| 20 | config CONFIG_TFM_BOOT_STORE_ENCODED_MEASUREMENTS |
| 21 | bool "Enable storing of encoded measurements in boot" |
| 22 | default y |
| 23 | |
| 24 | config MCUBOOT_DATA_SHARING |
| 25 | bool |
| 26 | default y if TFM_PARTITION_FIRMWARE_UPDATE || \ |
| 27 | (BL2 && CONFIG_TFM_BOOT_STORE_MEASUREMENTS && \ |
| 28 | !CONFIG_TFM_BOOT_STORE_ENCODED_MEASUREMENTS) |
| 29 | default n |
| 30 | help |
| 31 | Add sharing of application specific data using the same shared data area |
| 32 | as for the measured boot |
| 33 | endmenu |