public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/9] powerpc, mpc8xx: clear top of stack
@ 2018-11-21  8:51 Christophe Leroy
  2018-11-21  8:51 ` [U-Boot] [PATCH v2 2/9] board: MCR3000: Activate CONFIG_DM and CONFIG_OF_CONTROL Christophe Leroy
                   ` (9 more replies)
  0 siblings, 10 replies; 24+ messages in thread
From: Christophe Leroy @ 2018-11-21  8:51 UTC (permalink / raw)
  To: u-boot

Reported-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
---
 arch/powerpc/cpu/mpc8xx/start.S | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/cpu/mpc8xx/start.S b/arch/powerpc/cpu/mpc8xx/start.S
index 8dde4beeea1..b8bdaaec2fa 100644
--- a/arch/powerpc/cpu/mpc8xx/start.S
+++ b/arch/powerpc/cpu/mpc8xx/start.S
@@ -144,9 +144,11 @@ in_flash:
 	ori	r2, r2, CONFIG_SYS_DER at l
 	mtspr	DER, r2
 
-	/* set up the stack in internal DPRAM */
+	/* set up the stack on top of internal DPRAM */
 	lis	r3, (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE)@h
 	ori	r3, r3, (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE)@l
+	stw	r0, -4(r3)
+	stw	r0, -8(r3)
 	addi	r1, r3, -8
 
 	bl	board_init_f_alloc_reserve
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2018-12-03 22:50 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-21  8:51 [U-Boot] [PATCH v2 1/9] powerpc, mpc8xx: clear top of stack Christophe Leroy
2018-11-21  8:51 ` [U-Boot] [PATCH v2 2/9] board: MCR3000: Activate CONFIG_DM and CONFIG_OF_CONTROL Christophe Leroy
2018-12-03 22:50   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-11-21  8:51 ` [U-Boot] [PATCH v2 3/9] drivers: watchdog: add a DM driver for the MPC8xx watchdog Christophe Leroy
2018-12-03 22:50   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-11-21  8:51 ` [U-Boot] [PATCH v2 4/9] board: MCR3000: use new DM watchdog Christophe Leroy
2018-12-03 22:50   ` [U-Boot] [U-Boot,v2,4/9] " Tom Rini
2018-11-21  8:51 ` [U-Boot] [PATCH v2 5/9] drivers: serial: migrate mpc8xx to DM Christophe Leroy
2018-12-03 22:50   ` [U-Boot] [U-Boot,v2,5/9] " Tom Rini
2018-11-21  8:51 ` [U-Boot] [PATCH v2 6/9] board: MCR3000: migrate to DM_SERIAL Christophe Leroy
2018-12-03 22:50   ` [U-Boot] [U-Boot,v2,6/9] " Tom Rini
2018-11-21  8:51 ` [U-Boot] [PATCH v2 7/9] drivers: serial: get rid of non DM mpc8xx driver Christophe Leroy
2018-12-03 22:50   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-11-21  8:51 ` [U-Boot] [PATCH v2 8/9] board_r: fix build with DM_SPI Christophe Leroy
2018-11-21  9:11   ` Jagan Teki
2018-12-03 22:50   ` [U-Boot] [U-Boot,v2,8/9] " Tom Rini
2018-11-21  8:51 ` [U-Boot] [PATCH v2 9/9] spi, mpc8xx: migrate to DM_SPI Christophe Leroy
2018-11-21  9:09   ` Jagan Teki
2018-11-21 10:18     ` Jagan Teki
2018-11-29  8:21       ` Christophe LEROY
2018-11-29  8:23     ` Christophe LEROY
2018-12-03 22:50   ` [U-Boot] [U-Boot,v2,9/9] " Tom Rini
2018-11-21  9:42 ` [U-Boot] [PATCH v2 1/9] powerpc, mpc8xx: clear top of stack Joakim Tjernlund
2018-12-03 22:50 ` [U-Boot] [U-Boot,v2,1/9] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox