blob: 05d8f27d63a7eebd52771bcd9b4acbc9356d1fd0 [file] [log] [blame]
Jianliang Shen710cb952022-10-08 11:32:35 +08001#-------------------------------------------------------------------------------
Jianliang Shenf57c6a72023-02-20 14:04:38 +08002# Copyright (c) 2022-2023, Arm Limited. All rights reserved.
Jianliang Shen710cb952022-10-08 11:32:35 +08003#
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
Jianliang Shenf57c6a72023-02-20 14:04:38 +080013################################# Bootloader ###################################
14
15rsource "Kconfig.bl"
16
Jianliang Shen710cb952022-10-08 11:32:35 +080017################################# SPM ##########################################
18
Kevin Peng5cba61c2023-01-06 14:23:15 +080019rsource "secure_fw/spm/Kconfig"
Jianliang Shen710cb952022-10-08 11:32:35 +080020
21################################# Secure partitions ############################
22
23# These are partition switches.
24rsource "secure_fw/partitions/Kconfig"
25
26################################# Platforms ####################################
27
28rsource "platform/Kconfig"
29
Jianliang Shen710cb952022-10-08 11:32:35 +080030################################# TEST #########################################
31
32menu "TF-M tests"
33rsource "lib/ext/tf-m-tests/Kconfig"
34rsource "lib/ext/psa_arch_tests/Kconfig"
35endmenu
36
37################################# Component ####################################
38
Jianliang Shen2b24f252022-11-25 11:08:54 +080039# These configs in this menu are local to a component or externally referenced
40# when components are coupled. Usually, such options are located in C header
41# file. The Header File Config System has more details about it.
Jianliang Shen710cb952022-10-08 11:32:35 +080042
43# Other configs above which are not in component menu are TF-M build options to
44# select which file or component to include into compilation. These are options,
45# usually used by a build system to enable/disable modules, specify location of
46# external dependency or other selection, global to a project. These options
47# shall be considered while adopting TF-M to other build systems.
48
49menu "TF-M component configs"
Kevin Peng5cba61c2023-01-06 14:23:15 +080050rsource "secure_fw/spm/Kconfig.comp"
Jianliang Shen710cb952022-10-08 11:32:35 +080051
52menu "Secure Partitions component configs"
Kevin Peng5cba61c2023-01-06 14:23:15 +080053 rsource "secure_fw/partitions/*/Kconfig.comp"
Jianliang Shen710cb952022-10-08 11:32:35 +080054endmenu
55endmenu