kernel: update kernel 3.18 to version 3.18.43
[openwrt/openwrt.git] / target / linux / au1000 / patches-3.18 / 004-watchdog_low_init.patch
1 --- a/arch/mips/alchemy/board-mtx1.c
2 +++ b/arch/mips/alchemy/board-mtx1.c
3 @@ -98,6 +98,9 @@ void __init board_setup(void)
4 alchemy_gpio_direction_output(211, 1); /* green on */
5 alchemy_gpio_direction_output(212, 0); /* red off */
6
7 + /* Set watchdog pin low */
8 + alchemy_gpio_direction_output(215, 0);
9 +
10 pm_power_off = mtx1_power_off;
11 _machine_halt = mtx1_power_off;
12 _machine_restart = mtx1_reset;