CMSIS Device: Updated system_ARMCM55.c
- corrected "Clear ELPSTATE".
diff --git a/ARM.CMSIS.pdsc b/ARM.CMSIS.pdsc
index cee05b7..ac83319 100644
--- a/ARM.CMSIS.pdsc
+++ b/ARM.CMSIS.pdsc
@@ -12,6 +12,7 @@
Active development ...
CMSIS-Core(M): 5.6.0
- Arm China STAR-MC1 cpu support
+ - Updated system_ARMCM55.c
CMSIS-DSP: 1.10.0 (see revision history for details)
CMSIS-NN: 3.1.0 (see revision history for details)
- Support for int16 convolution and fully connected for reference implementation
@@ -1905,7 +1906,7 @@
<file category="linkerScript" name="Device/ARM/ARMCM55/Source/ARM/ARMCM55_ac6_s.sct" version="1.1.0" attr="config" condition="Startup ARMCC6 Secure"/>
<file category="linkerScript" name="Device/ARM/ARMCM55/Source/ARM/ARMCM55_ac6.sct" version="1.1.0" attr="config" condition="Startup ARMCC6 Unsecure"/>
<file category="linkerScript" name="Device/ARM/ARMCM55/Source/GCC/gcc_arm.ld" version="2.2.0" attr="config" condition="GCC"/>
- <file category="sourceC" name="Device/ARM/ARMCM55/Source/system_ARMCM55.c" version="1.0.1" attr="config"/>
+ <file category="sourceC" name="Device/ARM/ARMCM55/Source/system_ARMCM55.c" version="1.1.0" attr="config"/>
<!-- SAU configuration -->
<file category="header" name="Device/ARM/ARMCM55/Include/Template/partition_ARMCM55.h" version="1.0.0" attr="config" condition="TZ Secure"/>
</files>
diff --git a/Device/ARM/ARMCM55/Source/system_ARMCM55.c b/Device/ARM/ARMCM55/Source/system_ARMCM55.c
index dbd2fb3..d66624d 100644
--- a/Device/ARM/ARMCM55/Source/system_ARMCM55.c
+++ b/Device/ARM/ARMCM55/Source/system_ARMCM55.c
@@ -2,11 +2,11 @@
* @file system_ARMCM55.c
* @brief CMSIS Device System Source File for
* ARMCM55 Device
- * @version V1.0.2
- * @date 13. Oct 2021
+ * @version V1.1.0
+ * @date 28. March 2022
******************************************************************************/
/*
- * Copyright (c) 2009-2021 Arm Limited. All rights reserved.
+ * Copyright (c) 2009-2022 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -83,7 +83,7 @@
/* 0b11 | OFF */
/* Clear ELPSTATE, value is 0b11 on Cold reset */
- PWRMODCTL->CPDLPSTATE &= ~(PWRMODCTL_CPDLPSTATE_ELPSTATE_Msk << PWRMODCTL_CPDLPSTATE_ELPSTATE_Pos);
+ PWRMODCTL->CPDLPSTATE &= ~(PWRMODCTL_CPDLPSTATE_ELPSTATE_Msk);
/* Favor best FP/MVE performance by default, avoid EPU switch-ON delays */
/* PDEPU ON, Clock OFF */