]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>
Fri, 6 Jul 2012 21:14:20 +0000 (21:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:22 +0000 (14:58 +0200)
commit6f0dba85a92b55f67a3610241060caaa41b5939e
treee0bbc888c5d401a3661023bb736657cdaf3b637a
parentcca60769fc46ed27edbcb915f95351e6bb577ee0
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).
This patch removes save_boot_params_default() and put the equivalent in start.S

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