[PATCH 4/9] bsps/bfin: Use interrupt stack for init stack

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 16 14:45:46 UTC 2018


Update #3459.
---
 bsps/bfin/bf537Stamp/start/start.S | 4 ++--
 bsps/bfin/shared/start/start.S     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bsps/bfin/bf537Stamp/start/start.S b/bsps/bfin/bf537Stamp/start/start.S
index a835a48764..cc6c7c62fb 100644
--- a/bsps/bfin/bf537Stamp/start/start.S
+++ b/bsps/bfin/bf537Stamp/start/start.S
@@ -19,8 +19,8 @@ __start:
 	cli r0;
 
 	/* setup an initial stack */
-	sp.h = 0xFFB0;
-	sp.l = 0x0F00;
+	sp.h = __ISR_Stack_area_end;
+	sp.l = __ISR_Stack_area_end;
 
 	/* disable timer interrupts */
 	p0.h = HI(TCNTL);
diff --git a/bsps/bfin/shared/start/start.S b/bsps/bfin/shared/start/start.S
index 3440f5ccc9..acf742cea2 100644
--- a/bsps/bfin/shared/start/start.S
+++ b/bsps/bfin/shared/start/start.S
@@ -22,8 +22,8 @@
 __start:
 
     /* Start by setting up a stack */
-    sp.h = 0xFFB0;
-    sp.l = 0x0F00;
+    sp.h = __ISR_Stack_area_end;
+    sp.l = __ISR_Stack_area_end;
 
     /* Maybe we should zero the memory in the .bss section.  */
 
-- 
2.16.4




More information about the devel mailing list