blob: 63d18455810e82990ec0d2150bbd82e5a4d8585d [file] [log] [blame]
Jianliang Shen710cb952022-10-08 11:32:35 +08001#-------------------------------------------------------------------------------
2# Copyright (c) 2022, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
Kevin Peng5cba61c2023-01-06 14:23:15 +08008mainmenu "TF-M Configuration"
9
Jianliang Shen710cb952022-10-08 11:32:35 +080010# Load platform Kconfig file if exists
11osource "$(PLATFORM_PATH)/Kconfig"
12
13################################# SPM ##########################################
14
Kevin Peng5cba61c2023-01-06 14:23:15 +080015rsource "secure_fw/spm/Kconfig"
Jianliang Shen710cb952022-10-08 11:32:35 +080016
17################################# Secure partitions ############################
18
19# These are partition switches.
20rsource "secure_fw/partitions/Kconfig"
21
22################################# Platforms ####################################
23
24rsource "platform/Kconfig"
25
Jianliang Shen710cb952022-10-08 11:32:35 +080026################################# TEST #########################################
27
28menu "TF-M tests"
29rsource "lib/ext/tf-m-tests/Kconfig"
30rsource "lib/ext/psa_arch_tests/Kconfig"
31endmenu
32
33################################# Component ####################################
34
Jianliang Shen2b24f252022-11-25 11:08:54 +080035# These configs in this menu are local to a component or externally referenced
36# when components are coupled. Usually, such options are located in C header
37# file. The Header File Config System has more details about it.
Jianliang Shen710cb952022-10-08 11:32:35 +080038
39# Other configs above which are not in component menu are TF-M build options to
40# select which file or component to include into compilation. These are options,
41# usually used by a build system to enable/disable modules, specify location of
42# external dependency or other selection, global to a project. These options
43# shall be considered while adopting TF-M to other build systems.
44
45menu "TF-M component configs"
Kevin Peng5cba61c2023-01-06 14:23:15 +080046rsource "secure_fw/spm/Kconfig.comp"
Jianliang Shen710cb952022-10-08 11:32:35 +080047
48menu "Secure Partitions component configs"
Kevin Peng5cba61c2023-01-06 14:23:15 +080049 rsource "secure_fw/partitions/*/Kconfig.comp"
Jianliang Shen710cb952022-10-08 11:32:35 +080050endmenu
51endmenu