diff options
Diffstat (limited to 'arch/arm/mach-mx5/board-mx51_efikamx.c')
-rw-r--r-- | arch/arm/mach-mx5/board-mx51_efikamx.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/board-mx51_efikamx.c b/arch/arm/mach-mx5/board-mx51_efikamx.c index 272de6e883e7..8f173366b29c 100644 --- a/arch/arm/mach-mx5/board-mx51_efikamx.c +++ b/arch/arm/mach-mx5/board-mx51_efikamx.c | |||
@@ -211,6 +211,20 @@ static void __init mx51_efikamx_init(void) | |||
211 | gpio_request(EFIKAMX_RESET, "reset"); | 211 | gpio_request(EFIKAMX_RESET, "reset"); |
212 | gpio_direction_output(EFIKAMX_RESET, 1); | 212 | gpio_direction_output(EFIKAMX_RESET, 1); |
213 | } | 213 | } |
214 | |||
215 | /* | ||
216 | * enable wifi by default only on mx | ||
217 | * sb and mx have same wlan pin but the value to enable it are | ||
218 | * different :/ | ||
219 | */ | ||
220 | gpio_request(EFIKA_WLAN_EN, "wlan_en"); | ||
221 | gpio_direction_output(EFIKA_WLAN_EN, 0); | ||
222 | msleep(10); | ||
223 | |||
224 | gpio_request(EFIKA_WLAN_RESET, "wlan_rst"); | ||
225 | gpio_direction_output(EFIKA_WLAN_RESET, 0); | ||
226 | msleep(10); | ||
227 | gpio_set_value(EFIKA_WLAN_RESET, 1); | ||
214 | } | 228 | } |
215 | 229 | ||
216 | static void __init mx51_efikamx_timer_init(void) | 230 | static void __init mx51_efikamx_timer_init(void) |