1#------------------------------------------------------------------------------- 2# Copyright (c) 2023-2024, Arm Limited. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6#------------------------------------------------------------------------------- 7 8menuconfig BL1 9 bool "BL1" 10 default n 11 12if BL1 && PLATFORM_DEFAULT_BL1 13 14config TFM_BL2_ENCRYPTION_KEY_PATH 15 string 16 default "$(TFM_SOURCE_DIR)/bl1/bl1_2/bl2_dummy_encryption_key.bin" 17 help 18 Path to binary key to use for encrypting BL2 19 20config TFM_GUK_PATH 21 string 22 default "$(TFM_SOURCE_DIR)/bl1/bl1_1/dummy_guk.bin" 23 help 24 Path to binary GUK key file to provision 25 26config TFM_BL2_IMAGE_FLASH_AREA_NUM 27 int "Which flash area BL2 is stored in" 28 default 0 29 30config TFM_BL2_SIGNING_KEY_PATH 31 string 32 default "$(TFM_SOURCE_DIR)/bl1/bl1_2/bl1_dummy_rotpk" 33 help 34 Path to binary BL2 signing private key 35 36config TFM_BL1_MEMORY_MAPPED_FLASH 37 bool "BL1 Access flash content" 38 default y 39 40config TFM_BL1_LOGGING 41 bool "BL1 log to uart" 42 default y 43 44config TFM_BL1_DEFAULT_OTP 45 bool 46 default y 47 help 48 Whether BL1_1 will use default OTP memory 49 50config TFM_BL1_DEFAULT_PROVISIONING 51 bool 52 default y 53 help 54 Whether BL1_1 will use default provisioning 55 56config TFM_BL1_SOFTWARE_CRYPTO 57 bool 58 default y 59 help 60 Whether BL1_1 will use software crypto 61 62config TFM_BL1_DUMMY_TRNG 63 bool 64 default y 65 help 66 Whether BL1_1 will use dummy TRNG 67 68config TFM_BL1_PQ_CRYPTO 69 bool "Enable LMS PQ crypto for BL2 verification." 70 default n 71 help 72 Enable LMS PQ crypto for BL2 verification. This is experimental and should 73 not yet be used in production 74 75config TFM_BL1_IMAGE_VERSION_BL2 76 string "Image version of BL2 image" 77 default "1.9.0+0" 78 79config TFM_BL1_IMAGE_SECURITY_COUNTER_BL2 80 int "Security counter value to include with BL2 image" 81 default 1 82 83config TFM_BL1_2_IN_OTP 84 bool "Whether BL1_2 is stored in OTP" 85 default y 86 87config TFM_BL1_2_IN_FLASH 88 bool "Whether BL1_2 is stored in FLASH" 89 default n 90 91config BL1_HEADER_SIZE 92 hex "BL1 Header size" 93 default 0x800 94 95config BL1_TRAILER_SIZE 96 hex "BL1 Trailer size" 97 default 0x000 98 99config TFM_BL1_LOGGING 100 bool "Enable BL1 Logging" 101 default y 102 103config BL1_2_BUILD_TYPE 104 string "BL1_2 build type" 105 default "$(CMAKE_BUILD_TYPE)" 106 107config BL1_SHARED_SYMBOLS_PATH 108 string "Path to list of symbols that BL1_1 that can be referenced from BL1_2" 109 default "${TFM_SOURCE_DIR}/bl1/bl1_1/bl1_1_shared_symbols.txt" 110 111endif 112