diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-10-09 11:58:13 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-11 04:52:38 -0400 |
commit | 69fc7eed5f56bce15b239e5110de2575a6970df4 (patch) | |
tree | def52983185ffcea4da23cb747f10ee39c1b3396 /arch/arm/mach-pxa/spitz.c | |
parent | 6defd90433729c2d795865165cb34d938d8ff07c (diff) |
[ARM] 5300/1: fixup spitz reset during boot
Some machines don't have the pullup/down on their reset
pin, so configuring the reset generating pin as input makes
them reset immediately. Fix that by making reset pin direction
configurable.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/spitz.c')
-rw-r--r-- | arch/arm/mach-pxa/spitz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 9b4f24c7c055..524f656dc56d 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -618,7 +618,7 @@ static void spitz_restart(char mode) | |||
618 | 618 | ||
619 | static void __init common_init(void) | 619 | static void __init common_init(void) |
620 | { | 620 | { |
621 | init_gpio_reset(SPITZ_GPIO_ON_RESET); | 621 | init_gpio_reset(SPITZ_GPIO_ON_RESET, 1); |
622 | pm_power_off = spitz_poweroff; | 622 | pm_power_off = spitz_poweroff; |
623 | arm_pm_restart = spitz_restart; | 623 | arm_pm_restart = spitz_restart; |
624 | 624 | ||