blob: 417fdb16e2f5fd0b130666e1dee7392cd782219f [file] [log] [blame]
Jianliang Shenf57c6a72023-02-20 14:04:38 +08001#-------------------------------------------------------------------------------
Raef Colesf8426362024-01-15 12:38:10 +00002# Copyright (c) 2023-2024, Arm Limited. All rights reserved.
Jianliang Shenf57c6a72023-02-20 14:04:38 +08003#
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
Jianliang Shenf57c6a72023-02-20 14:04:38 +080040config TFM_BL1_DEFAULT_OTP
41 bool
42 default y
43 help
44 Whether BL1_1 will use default OTP memory
45
46config TFM_BL1_DEFAULT_PROVISIONING
47 bool
48 default y
49 help
50 Whether BL1_1 will use default provisioning
51
52config TFM_BL1_SOFTWARE_CRYPTO
53 bool
54 default y
55 help
56 Whether BL1_1 will use software crypto
57
58config TFM_BL1_DUMMY_TRNG
59 bool
60 default y
61 help
62 Whether BL1_1 will use dummy TRNG
63
64config TFM_BL1_PQ_CRYPTO
65 bool "Enable LMS PQ crypto for BL2 verification."
66 default n
67 help
68 Enable LMS PQ crypto for BL2 verification. This is experimental and should
69 not yet be used in production
70
71config TFM_BL1_IMAGE_VERSION_BL2
72 string "Image version of BL2 image"
73 default "1.9.0+0"
74
75config TFM_BL1_IMAGE_SECURITY_COUNTER_BL2
76 int "Security counter value to include with BL2 image"
77 default 1
78
79config TFM_BL1_2_IN_OTP
80 bool "Whether BL1_2 is stored in OTP"
81 default y
82
Raef Colesf8426362024-01-15 12:38:10 +000083config TFM_BL1_2_IN_FLASH
84 bool "Whether BL1_2 is stored in FLASH"
85 default n
86
Jianliang Shenf57c6a72023-02-20 14:04:38 +080087config BL1_HEADER_SIZE
88 hex "BL1 Header size"
89 default 0x800
90
91config BL1_TRAILER_SIZE
92 hex "BL1 Trailer size"
93 default 0x000
94
Raef Coles4874aa62023-04-05 10:40:12 +010095config BL1_2_BUILD_TYPE
96 string "BL1_2 build type"
97 default "$(CMAKE_BUILD_TYPE)"
98
Raef Coles4d4aa882024-05-16 10:22:55 +010099config BL1_1_SHARED_SYMBOLS_PATH
Jianliang Shenc750f652023-08-09 11:16:17 +0800100 string "Path to list of symbols that BL1_1 that can be referenced from BL1_2"
101 default "${TFM_SOURCE_DIR}/bl1/bl1_1/bl1_1_shared_symbols.txt"
102
Jianliang Shenf57c6a72023-02-20 14:04:38 +0800103endif