Jianliang Shen | f57c6a7 | 2023-02-20 14:04:38 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2023, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | menuconfig BL1 |
| 9 | bool "BL1" |
| 10 | default n |
| 11 | |
| 12 | if BL1 && PLATFORM_DEFAULT_BL1 |
| 13 | |
| 14 | config 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 | |
| 20 | config 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 | |
| 26 | config TFM_BL2_IMAGE_FLASH_AREA_NUM |
| 27 | int "Which flash area BL2 is stored in" |
| 28 | default 0 |
| 29 | |
| 30 | config 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 | |
| 36 | config TFM_BL1_MEMORY_MAPPED_FLASH |
| 37 | bool "BL1 Access flash content" |
| 38 | default y |
| 39 | |
| 40 | config TFM_BL1_LOGGING |
| 41 | bool "BL1 log to uart" |
| 42 | default y |
| 43 | |
| 44 | config TFM_BL1_DEFAULT_OTP |
| 45 | bool |
| 46 | default y |
| 47 | help |
| 48 | Whether BL1_1 will use default OTP memory |
| 49 | |
| 50 | config TFM_BL1_DEFAULT_PROVISIONING |
| 51 | bool |
| 52 | default y |
| 53 | help |
| 54 | Whether BL1_1 will use default provisioning |
| 55 | |
| 56 | config TFM_BL1_SOFTWARE_CRYPTO |
| 57 | bool |
| 58 | default y |
| 59 | help |
| 60 | Whether BL1_1 will use software crypto |
| 61 | |
| 62 | config TFM_BL1_DUMMY_TRNG |
| 63 | bool |
| 64 | default y |
| 65 | help |
| 66 | Whether BL1_1 will use dummy TRNG |
| 67 | |
| 68 | config 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 | |
| 75 | config TFM_BL1_IMAGE_VERSION_BL2 |
| 76 | string "Image version of BL2 image" |
| 77 | default "1.9.0+0" |
| 78 | |
| 79 | config TFM_BL1_IMAGE_SECURITY_COUNTER_BL2 |
| 80 | int "Security counter value to include with BL2 image" |
| 81 | default 1 |
| 82 | |
| 83 | config TFM_BL1_2_IN_OTP |
| 84 | bool "Whether BL1_2 is stored in OTP" |
| 85 | default y |
| 86 | |
| 87 | config BL1_HEADER_SIZE |
| 88 | hex "BL1 Header size" |
| 89 | default 0x800 |
| 90 | |
| 91 | config BL1_TRAILER_SIZE |
| 92 | hex "BL1 Trailer size" |
| 93 | default 0x000 |
| 94 | |
| 95 | config TFM_BL1_LOGGING |
| 96 | bool "Enable BL1 Logging" |
| 97 | default y |
| 98 | |
Raef Coles | 4874aa6 | 2023-04-05 10:40:12 +0100 | [diff] [blame] | 99 | config BL1_2_BUILD_TYPE |
| 100 | string "BL1_2 build type" |
| 101 | default "$(CMAKE_BUILD_TYPE)" |
| 102 | |
Jianliang Shen | c750f65 | 2023-08-09 11:16:17 +0800 | [diff] [blame] | 103 | config BL1_SHARED_SYMBOLS_PATH |
| 104 | string "Path to list of symbols that BL1_1 that can be referenced from BL1_2" |
| 105 | default "${TFM_SOURCE_DIR}/bl1/bl1_1/bl1_1_shared_symbols.txt" |
| 106 | |
Jianliang Shen | f57c6a7 | 2023-02-20 14:04:38 +0800 | [diff] [blame] | 107 | endif |