Skip to content

Commit

Permalink
[ARM] 5330/1: mach-pxa: Fixup reset for systems using reboot=cold or …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
Acked-by: Eric Miao <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
jayakumar2 authored and Russell King committed Nov 17, 2008
1 parent 12a8ab1 commit 28105fd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/arm/mach-pxa/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,13 @@ void arch_reset(char mode)
/* Jump into ROM at address 0 */
cpu_reset(0);
break;
case 'h':
do_hw_reset();
break;
case 'g':
do_gpio_reset();
break;
case 'h':
default:
do_hw_reset();
break;
}
}

0 comments on commit 28105fd

Please sign in to comment.