mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35966 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user