diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-10-09 17:58:13 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-11 10:52:38 +0200 |
commit | 69fc7eed5f56bce15b239e5110de2575a6970df4 (patch) | |
tree | def52983185ffcea4da23cb747f10ee39c1b3396 /arch/arm/mach-pxa/tosa.c | |
parent | Merge branch 'for-rmk' of git://git.marvell.com/orion (diff) | |
download | linux-69fc7eed5f56bce15b239e5110de2575a6970df4.tar.xz linux-69fc7eed5f56bce15b239e5110de2575a6970df4.zip |
[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/tosa.c')
-rw-r--r-- | arch/arm/mach-pxa/tosa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 9f3ef9eb32e3..130e37e4ebdd 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c @@ -781,7 +781,7 @@ static void __init tosa_init(void) gpio_set_wake(MFP_PIN_GPIO1, 1); /* We can't pass to gpio-keys since it will drop the Reset altfunc */ - init_gpio_reset(TOSA_GPIO_ON_RESET); + init_gpio_reset(TOSA_GPIO_ON_RESET, 0); pm_power_off = tosa_poweroff; arm_pm_restart = tosa_restart; |