Skip to content

Commit 052001e

Browse files
cmsis: Update to v6.2.0
CPPWR SU(S)10 and 11 defines are in CMSIS v6.2.0, so TFM's own definitions of these bits can be removed. Signed-off-by: Dávid Házi <[email protected]> Change-Id: Idcc084ba75d4732ee6260232b3c079be223ec738
1 parent 1a28188 commit 052001e

File tree

3 files changed

+4
-29
lines changed

3 files changed

+4
-29
lines changed

lib/ext/cmsis/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#-------------------------------------------------------------------------------
2-
# Copyright (c) 2024, Arm Limited. All rights reserved.
2+
# SPDX-FileCopyrightText: Copyright The TrustedFirmware-M Contributors
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
55
#
@@ -9,7 +9,7 @@ cmake_minimum_required(VERSION 3.21)
99

1010
# Default configuration of CMSIS repository
1111
set(CMSIS_PATH "DOWNLOAD" CACHE PATH "Path to cmsis (or DOWNLOAD to fetch automatically")
12-
set(CMSIS_TAG "v6.1.0" CACHE STRING "The version of cmsis to use")
12+
set(CMSIS_TAG "v6.2.0" CACHE STRING "The version of cmsis to use")
1313

1414
fetch_remote_library(
1515
LIB_NAME cmsis

platform/ext/common/core_ext.h

Lines changed: 0 additions & 24 deletions
This file was deleted.

secure_fw/spm/core/arch/tfm_arch_v8m_main.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018-2024, Arm Limited. All rights reserved.
2+
* Copyright (c) 2018-2025, Arm Limited. All rights reserved.
33
* Copyright (c) 2022-2024 Cypress Semiconductor Corporation (an Infineon
44
* company) or an affiliate of Cypress Semiconductor Corporation. All rights
55
* reserved.
@@ -20,7 +20,6 @@
2020
#include "tfm_hal_device_header.h"
2121
#include "tfm_svcalls.h"
2222
#include "utilities.h"
23-
#include "core_ext.h"
2423
#include "ffm/backend.h"
2524

2625
#if !defined(__ARM_ARCH_8M_MAIN__) && !defined(__ARM_ARCH_8_1M_MAIN__)
@@ -353,7 +352,7 @@ void tfm_arch_config_extensions(void)
353352
#else
354353
SCnSCB->CPPWR |=
355354
#endif
356-
SCnSCB_CPPWR_SUS11_Msk | SCnSCB_CPPWR_SUS10_Msk;
355+
ICB_CPPWR_SUS11_Msk | ICB_CPPWR_SUS10_Msk;
357356

358357
#endif /* CONFIG_TFM_FLOAT_ABI >= 1 */
359358

0 commit comments

Comments
 (0)