arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>
Thu, 28 Jun 2012 23:36:21 +0000 (23:36 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:36 +0000 (14:07 +0200)
commitfa042186b932e9b9ee9a2fd8a04a3acf7c70d224
tree4dd747a1f03588e3a09e2281a49a5b25a4bc2c2e
parent816e3921480d216c415a7c27ac4e0bf62004db1d
arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0

save_boot_params_default() in cpu.c accesses uninitialized stack area
when it compiled with -O0 (not optimized).

Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Acked-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/cpu.c