Skip to content

Commit 27cface

Browse files
author
Oren Cohen
committed
Remove demand for MBED_SPM on single v7 platforms
1 parent bdea678 commit 27cface

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

components/TARGET_PSA/inc/psa/client.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515
* limitations under the License.
1616
*/
1717

18-
#if defined(TARGET_MBED_SPM)
19-
#include "psa_defs.h"
20-
#include "spm_client.h"
21-
#endif
22-
2318
#if defined(TARGET_TFM)
2419
#include "interface/include/psa_client.h"
20+
#else
21+
#include "psa_defs.h"
22+
#include "spm_client.h"
2523
#endif

components/TARGET_PSA/inc/psa/service.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515
* limitations under the License.
1616
*/
1717

18-
#if defined(TARGET_MBED_SPM)
18+
#if defined(TARGET_TFM)
19+
#include "interface/include/psa_service.h"
20+
#else
1921
#include "psa_defs.h"
2022
#include "spm_server.h"
2123
#include "spm_panic.h"
2224
#endif
23-
24-
#if defined(TARGET_TFM)
25-
#include "interface/include/psa_service.h"
26-
#endif

targets/targets.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,8 +1452,7 @@
14521452
"KPSDK_CODE",
14531453
"MCU_K64F",
14541454
"Freescale_EMAC",
1455-
"PSA",
1456-
"MBED_SPM"
1455+
"PSA"
14571456
],
14581457
"is_disk_virtual": true,
14591458
"macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED", "MBEDTLS_PSA_CRYPTO_C"],
@@ -2003,7 +2002,7 @@
20032002
"extra_labels_add": ["LPCXpresso"],
20042003
"detect_code": ["1056"],
20052004
"release_versions": ["2", "5"],
2006-
"components_add": ["QSPIF"]
2005+
"components_add": ["QSPIF"]
20072006
},
20082007
"FF_LPC546XX": {
20092008
"inherits": ["MCU_LPC546XX"],

0 commit comments

Comments
 (0)