Bug: do_reset issued via netconsole does not reset mpc83xx cpu.
authorMichael Zaidman <michael.zaidman@gmail.com>
Mon, 15 Feb 2010 08:02:32 +0000 (10:02 +0200)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 19 Feb 2010 00:25:09 +0000 (18:25 -0600)
commit4c006dd1501283eecaea813a0e5e225e9ee6fdeb
tree0e3f05050abee7b3154675f2de9a43fb718bed77
parent77e7273c40315abd2f3c17ad8d46a78950e3e65f
Bug: do_reset issued via netconsole does not reset mpc83xx cpu.

The do_reset routine in the cpu/mpc83xx/cpu.c file does not reset
the mpc83xx cpu when issued via netconsole.

Moving the console output "resetting the board." to the beginning of
the routine before disabling interrupts solved the problem.

Signed-off-by: Michael Zaidman <michael.zaidman@gmail.com>
Acked-by: Detlev Zundel <dzu@denx.de>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/cpu.c