summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-11 19:52:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-11 19:52:54 +0000
commit14ca5fc98b31b75eecc367a6a5945ef57a8d6e3c (patch)
treed65ba2ed4f737c197aba7e3c64f50284c2cb9606 /target
parent72fc0c1906eb968bd485f1a3110a48cacf7aa05b (diff)
downloadmtk-20170518-14ca5fc98b31b75eecc367a6a5945ef57a8d6e3c.zip
mtk-20170518-14ca5fc98b31b75eecc367a6a5945ef57a8d6e3c.tar.gz
mtk-20170518-14ca5fc98b31b75eecc367a6a5945ef57a8d6e3c.tar.bz2
ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35966
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
index f616527..8adac0f 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
@@ -187,7 +187,7 @@ static void __init om2p_hs_setup(void)
/* enable reset button */
ath79_gpio_output_select(OM2P_GPIO_BTN_RESET, AR934X_GPIO_OUT_GPIO);
- ath79_gpio_function_enable(AR933X_GPIO_FUNC_JTAG_DISABLE);
+ ath79_gpio_function_enable(AR934X_GPIO_FUNC_JTAG_DISABLE);
om2p_leds_gpio[4].gpio = OM2P_GPIO_LED_WAN;
om2p_leds_gpio[5].gpio = OM2P_GPIO_LED_LAN;