diff options
| author | Tom Rini <[email protected]> | 2014-11-24 17:20:46 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2014-11-24 17:20:46 -0500 |
| commit | 94092e361cfa9461d746e530ca97d8822f5d23f0 (patch) | |
| tree | f2d19ceca8e7b1e882d8b86bdc207d7e1ec62e53 | |
| parent | 2a82ec77d27ef5f860a107c4b764643a655dceeb (diff) | |
Revert "common/board_f: add setup of initial stack frame for MIPS"
Daniel discovered a better solution to the problem this was solving, so
don't do what this patch was doing anymore.
This reverts commit 666ba8444e81c3785a427ae6922e2feededab9a3.
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | common/board_f.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/board_f.c b/common/board_f.c index f8fd324d0d7..98c9c728ce7 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -581,7 +581,7 @@ static int reserve_stacks(void) gd->irq_sp = gd->start_addr_sp; # endif #else -# if defined(CONFIG_PPC) || defined(CONFIG_MIPS) +# ifdef CONFIG_PPC ulong *s; # endif @@ -611,12 +611,6 @@ static int reserve_stacks(void) s = (ulong *) gd->start_addr_sp; *s = 0; /* Terminate back chain */ *++s = 0; /* NULL return address */ -# elif defined(CONFIG_MIPS) - /* Clear initial stack frame */ - s = (ulong *) gd->start_addr_sp; - *s-- = 0; - *s-- = 0; - gd->start_addr_sp = (ulong) s; # endif /* Architecture specific code */ return 0; |
