aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMarton Berke <marton.berke@arm.com>2021-03-24 18:49:39 +0100
committerAnton Komlev <Anton.Komlev@arm.com>2021-03-29 08:57:36 +0200
commit10ee93d8d1446e02d92985efbe10dda0e9d56aff (patch)
tree513b73f47be8aebfbd5dee4c21e9bd53306b3bd9 /platform
parent0c6591922923c35136953d3c411d4430217a8bac (diff)
downloadtrusted-firmware-m-10ee93d8d1446e02d92985efbe10dda0e9d56aff.tar.gz
Platform: Switch AN547 Initial Stack Pointer to MSP
Use MSP as Initial Stack Pointer in vector table for AN547 platform Change-Id: I981a24539c646b7d4d8f95554a2de07d95f60995 Signed-off-by: Marton Berke <marton.berke@arm.com>
Diffstat (limited to 'platform')
-rw-r--r--platform/ext/target/mps3/an547/device/source/startup_an547_ns.c2
-rw-r--r--platform/ext/target/mps3/an547/device/source/startup_an547_s.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/ext/target/mps3/an547/device/source/startup_an547_ns.c b/platform/ext/target/mps3/an547/device/source/startup_an547_ns.c
index be5d47ffa..4118c5383 100644
--- a/platform/ext/target/mps3/an547/device/source/startup_an547_ns.c
+++ b/platform/ext/target/mps3/an547/device/source/startup_an547_ns.c
@@ -184,7 +184,7 @@ DEFAULT_IRQ_HANDLER(UART5_Handler)
extern const pFunc __VECTOR_TABLE[496];
const pFunc __VECTOR_TABLE[496] __VECTOR_TABLE_ATTRIBUTE = {
- (pFunc)(&__INITIAL_SP), /* Initial Stack Pointer */
+ (pFunc)(&__MSP_INITIAL_SP), /* Initial Stack Pointer */
Reset_Handler, /* Reset Handler */
NMI_Handler, /* -14: NMI Handler */
HardFault_Handler, /* -13: Hard Fault Handler */
diff --git a/platform/ext/target/mps3/an547/device/source/startup_an547_s.c b/platform/ext/target/mps3/an547/device/source/startup_an547_s.c
index 5edddb027..66d6ce144 100644
--- a/platform/ext/target/mps3/an547/device/source/startup_an547_s.c
+++ b/platform/ext/target/mps3/an547/device/source/startup_an547_s.c
@@ -184,7 +184,7 @@ DEFAULT_IRQ_HANDLER(UART5_Handler)
extern const pFunc __VECTOR_TABLE[496];
const pFunc __VECTOR_TABLE[496] __VECTOR_TABLE_ATTRIBUTE = {
- (pFunc)(&__INITIAL_SP), /* Initial Stack Pointer */
+ (pFunc)(&__MSP_INITIAL_SP), /* Initial Stack Pointer */
Reset_Handler, /* Reset Handler */
NMI_Handler, /* -14: NMI Handler */
HardFault_Handler, /* -13: Hard Fault Handler */