commit | 7417e7fdf2481320f1253393f6d560981849c9cb | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@ti.com> | Wed Nov 05 07:12:16 2014 -0500 |
committer | Tom Rini <trini@ti.com> | Wed Nov 05 07:12:16 2014 -0500 |
tree | 254c8af880bffa7694591c39e5ab8e080e87be4d | |
parent | 2dbbda08b92b006b541a099a3025cac12c6d720e [diff] | |
parent | f73002bc015aa8518a88a98d2e305e8c2868bf50 [diff] |
Merge git://www.denx.de/git/u-boot-ppc4xx
diff --git a/arch/powerpc/cpu/ppc4xx/cpu_init.c b/arch/powerpc/cpu/ppc4xx/cpu_init.c index 2256123..e5a0e21 100644 --- a/arch/powerpc/cpu/ppc4xx/cpu_init.c +++ b/arch/powerpc/cpu/ppc4xx/cpu_init.c
@@ -451,6 +451,9 @@ #endif /* CONFIG_440SP/SPE || CONFIG_460EX/GT || CONFIG_405EX */ gd = (gd_t *)(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET); + + /* Clear initial global data */ + memset((void *)gd, 0, sizeof(gd_t)); } /*