[ARM] 5330/1: mach-pxa: Fixup reset for systems using reboot=cold or other strings

This patch makes do_hw_reset the default reboot behavior when nothing
else matches. This restores reboot functionality on gumstix basix
devices where reboot=cold is the default boot argument.

Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Jaya Kumar 2008-11-11 12:17:05 +01:00 committed by Russell King
parent 12a8ab152d
commit 28105fda1e

View file

@ -90,12 +90,13 @@ void arch_reset(char mode)
/* Jump into ROM at address 0 */ /* Jump into ROM at address 0 */
cpu_reset(0); cpu_reset(0);
break; break;
case 'h':
do_hw_reset();
break;
case 'g': case 'g':
do_gpio_reset(); do_gpio_reset();
break; break;
case 'h':
default:
do_hw_reset();
break;
} }
} }