1#-------------------------------------------------------------------------------
2# Copyright (c) 2023, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8############### Supported Arch Options for platforms to "select" ###############
9config ARCH_ARM_V6M
10    def_bool n
11    help
12        Armv6-M
13
14config ARCH_ARM_V7M
15    def_bool n
16    help
17        Armv7-M
18
19config ARCH_ARM_V80MB
20    def_bool n
21    help
22        Armv8.0-M baseline
23
24config ARCH_ARM_V80MM
25    def_bool n
26    help
27        Armv8.0-M mainline
28
29config ARCH_ARM_V81M
30    def_bool n
31    help
32        Armv8.1-M
33
34config TFM_SYSTEM_ARCHITECTURE
35    string
36    default "armv6-m" if ARCH_ARM_V6M
37    default "armv7-m" if ARCH_ARM_V7M
38    default "armv8-m.base" if ARCH_ARM_V80MB
39    default "armv8-m.main" if ARCH_ARM_V80MM
40    default "armv8.1-m.main" if ARCH_ARM_V81M
41    default ""
42
43################# Processor Options for platforms to "select" ##################
44config PROCESSOR_CM0PLUS
45    def_bool n
46    help
47        Cortex-M0+
48
49config PROCESSOR_CM23
50    def_bool n
51    help
52        Cortex-M23
53
54config PROCESSOR_CM33
55    def_bool n
56    help
57        Cortex-M33
58
59config PROCESSOR_CM55
60    def_bool n
61    help
62        Cortex-M55
63
64config PROCESSOR_CM85
65    def_bool n
66    help
67        Cortex-M85
68
69config TFM_SYSTEM_PROCESSOR
70    string
71    default "cortex-m0plus" if PROCESSOR_CM0PLUS
72    default "cortex-m23" if PROCESSOR_CM23
73    default "cortex-m33" if PROCESSOR_CM33
74    default "cortex-m55" if PROCESSOR_CM55
75    default "cortex-m85" if PROCESSOR_CM85
76    default ""
77
78######################### TFM system DSP #######################################
79
80config TFM_SYSTEM_DSP
81    def_bool n
82
83############################## FP Arch #########################################
84config FP_ARCH_FPV5_D16
85    def_bool n
86    help
87        FPv5-D16
88
89config FP_ARCH_FPV5_SP_D16
90    def_bool n
91    help
92        FPv5-SP-D16
93
94config CONFIG_TFM_FP_ARCH
95    string
96    default "fpv5-d16" if FP_ARCH_FPV5_D16
97    default "fpv5-sp-d16" if FP_ARCH_FPV5_SP_D16
98    default ""
99
100config CONFIG_TFM_FP_ARCH_ASM
101    string
102    default "FPv5_D16" if FP_ARCH_FPV5_D16
103    default ""
104