From: Tom Rini Date: Mon, 24 Nov 2014 22:20:46 +0000 (-0500) Subject: Revert "common/board_f: add setup of initial stack frame for MIPS" X-Git-Tag: v2025.01-rc5-pxa1908~14231 X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=94092e361cfa9461d746e530ca97d8822f5d23f0;p=u-boot.git 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 --- diff --git a/common/board_f.c b/common/board_f.c index f8fd324d0d..98c9c728ce 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;