Commit 666ba8444e81c3785a427ae6922e2feededab9a3
common/board_f: add setup of initial stack frame for MIPS
The MIPS specific setup of the initial stack frame was not ported to generic board_f. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Showing 1 changed file with 7 additions and 1 deletions Side-by-side Diff
... | ... | @@ -579,7 +579,7 @@ |
579 | 579 | gd->irq_sp = gd->start_addr_sp; |
580 | 580 | # endif |
581 | 581 | #else |
582 | -# ifdef CONFIG_PPC | |
582 | +# if defined(CONFIG_PPC) || defined(CONFIG_MIPS) | |
583 | 583 | ulong *s; |
584 | 584 | # endif |
585 | 585 | |
... | ... | @@ -609,6 +609,12 @@ |
609 | 609 | s = (ulong *) gd->start_addr_sp; |
610 | 610 | *s = 0; /* Terminate back chain */ |
611 | 611 | *++s = 0; /* NULL return address */ |
612 | +# elif defined(CONFIG_MIPS) | |
613 | + /* Clear initial stack frame */ | |
614 | + s = (ulong *) gd->start_addr_sp; | |
615 | + *s-- = 0; | |
616 | + *s-- = 0; | |
617 | + gd->start_addr_sp = (ulong) s; | |
612 | 618 | # endif /* Architecture specific code */ |
613 | 619 | |
614 | 620 | return 0; |
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e
-
mentioned in commit 94092e