powerpc/mpc512x: initialize board restart earlier
authorGerhard Sittig <gsi@denx.de>
Tue, 14 May 2013 04:40:54 +0000 (04:40 +0000)
committerAnatolij Gustschin <agust@denx.de>
Tue, 21 May 2013 08:59:27 +0000 (10:59 +0200)
commita4f4124cf308275b4a2219d1e332dfc01d8bd6b7
treee2b1c73455f66d84d6d86694a830c31976f96552
parent2abbbb63c90ab55ca3f054772c2e5ba7df810c48
powerpc/mpc512x: initialize board restart earlier

move the MPC512x restart initialization from the shared init routine
to the shared init_early routine

recent problems in the proc(5) filesystem initialization led to the
situation where the platform's restart routine was invoked yet the
registers required for software reset were not yet available, which
made the board hang instead of reboot

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/platforms/512x/mpc512x_shared.c