1
2#-------------------------------------------------------------------------------
3# Copyright (c) 2023, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7#-------------------------------------------------------------------------------
8
9rsource "bl1/Kconfig"
10rsource "bl2/ext/mcuboot/Kconfig"
11
12menu "BL options"
13
14config 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
20config CONFIG_TFM_BOOT_STORE_ENCODED_MEASUREMENTS
21    bool "Enable storing of encoded measurements in boot"
22    default y
23
24config 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
33endmenu
34