diff options
author | Lily Zhang <r58066@freescale.com> | 2011-07-21 19:08:29 +0800 |
---|---|---|
committer | Alex Gonzalez <alex.gonzalez@digi.com> | 2011-12-15 17:13:05 +0100 |
commit | 46b6b93ebbd9ed531133abbc7203e266faa70dbe (patch) | |
tree | ae0599f00f0e2f63d0a150dfaba978359359e313 /arch | |
parent | bba3b863653d9e1dc0629c5676cacd6a681611c9 (diff) |
ENGR00151310 mx53 smd: remove GPIO_9 pull down
This patch is used to remove the workaround "pull down
GPIO_9" to support reboot in mx53 SMD. Another workaround
is adopted into U-Boot to force warm reset as cold reset.
New workaround can support watchdog timeout in mx53 SMD
board.
Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-mxc/system.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/plat-mxc/system.c b/arch/arm/plat-mxc/system.c index 06faf1bbd68f..d6068c8e2227 100644 --- a/arch/arm/plat-mxc/system.c +++ b/arch/arm/plat-mxc/system.c @@ -83,16 +83,8 @@ void arch_reset(char mode, const char *cmd) wcr_enable = (1 << 2); } - if (machine_is_mx53_smd()) { - /* workaround for smd reset func */ - gpio_request(MX53_WDA_GPIO, "wdog-rst"); - gpio_direction_output(MX53_WDA_GPIO, 0); - gpio_set_value(MX53_WDA_GPIO, 0); - } else { - /* Assert SRS signal */ - __raw_writew(wcr_enable, wdog_base); - } - + /* Assert SRS signal */ + __raw_writew(wcr_enable, wdog_base); /* wait for reset to assert... */ mdelay(500); |