summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-11-24 17:20:46 -0500
committerTom Rini <trini@ti.com>2014-11-24 17:20:46 -0500
commit94092e361cfa9461d746e530ca97d8822f5d23f0 (patch)
treef2d19ceca8e7b1e882d8b86bdc207d7e1ec62e53
parent2a82ec77d27ef5f860a107c4b764643a655dceeb (diff)
downloadu-boot-imx-94092e361cfa9461d746e530ca97d8822f5d23f0.zip
u-boot-imx-94092e361cfa9461d746e530ca97d8822f5d23f0.tar.gz
u-boot-imx-94092e361cfa9461d746e530ca97d8822f5d23f0.tar.bz2
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 <trini@ti.com>
-rw-r--r--common/board_f.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/common/board_f.c b/common/board_f.c
index f8fd324..98c9c72 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;