Jianliang Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Jianliang Shen | f57c6a7 | 2023-02-20 14:04:38 +0800 | [diff] [blame^] | 2 | # Copyright (c) 2022-2023, Arm Limited. All rights reserved. |
Jianliang Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
Kevin Peng | 5cba61c | 2023-01-06 14:23:15 +0800 | [diff] [blame] | 8 | mainmenu "TF-M Configuration" |
| 9 | |
Jianliang Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 10 | # Load platform Kconfig file if exists |
| 11 | osource "$(PLATFORM_PATH)/Kconfig" |
| 12 | |
Jianliang Shen | f57c6a7 | 2023-02-20 14:04:38 +0800 | [diff] [blame^] | 13 | ################################# Bootloader ################################### |
| 14 | |
| 15 | rsource "Kconfig.bl" |
| 16 | |
Jianliang Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 17 | ################################# SPM ########################################## |
| 18 | |
Kevin Peng | 5cba61c | 2023-01-06 14:23:15 +0800 | [diff] [blame] | 19 | rsource "secure_fw/spm/Kconfig" |
Jianliang Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 20 | |
| 21 | ################################# Secure partitions ############################ |
| 22 | |
| 23 | # These are partition switches. |
| 24 | rsource "secure_fw/partitions/Kconfig" |
| 25 | |
| 26 | ################################# Platforms #################################### |
| 27 | |
| 28 | rsource "platform/Kconfig" |
| 29 | |
Jianliang Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 30 | ################################# TEST ######################################### |
| 31 | |
| 32 | menu "TF-M tests" |
| 33 | rsource "lib/ext/tf-m-tests/Kconfig" |
| 34 | rsource "lib/ext/psa_arch_tests/Kconfig" |
| 35 | endmenu |
| 36 | |
| 37 | ################################# Component #################################### |
| 38 | |
Jianliang Shen | 2b24f25 | 2022-11-25 11:08:54 +0800 | [diff] [blame] | 39 | # 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 Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 42 | |
| 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 | |
| 49 | menu "TF-M component configs" |
Kevin Peng | 5cba61c | 2023-01-06 14:23:15 +0800 | [diff] [blame] | 50 | rsource "secure_fw/spm/Kconfig.comp" |
Jianliang Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 51 | |
| 52 | menu "Secure Partitions component configs" |
Kevin Peng | 5cba61c | 2023-01-06 14:23:15 +0800 | [diff] [blame] | 53 | rsource "secure_fw/partitions/*/Kconfig.comp" |
Jianliang Shen | 710cb95 | 2022-10-08 11:32:35 +0800 | [diff] [blame] | 54 | endmenu |
| 55 | endmenu |