bsps/bfin: Use interrupt stack for init stack

Update #3459.
This commit is contained in:
Sebastian Huber
2018-11-16 06:36:28 +01:00
parent 508f319ef7
commit a74ee41742
2 changed files with 4 additions and 4 deletions

View File

@@ -19,8 +19,8 @@ __start:
cli r0; cli r0;
/* setup an initial stack */ /* setup an initial stack */
sp.h = 0xFFB0; sp.h = __ISR_Stack_area_end;
sp.l = 0x0F00; sp.l = __ISR_Stack_area_end;
/* disable timer interrupts */ /* disable timer interrupts */
p0.h = HI(TCNTL); p0.h = HI(TCNTL);

View File

@@ -22,8 +22,8 @@
__start: __start:
/* Start by setting up a stack */ /* Start by setting up a stack */
sp.h = 0xFFB0; sp.h = __ISR_Stack_area_end;
sp.l = 0x0F00; sp.l = __ISR_Stack_area_end;
/* Maybe we should zero the memory in the .bss section. */ /* Maybe we should zero the memory in the .bss section. */