fix of the board specific initialization of the GPIO pins
[openwrt/openwrt.git] / target / linux / adm5120-2.6 / files / arch / mips / adm5120 / boards / infineon.c
index 30501d95b18ee970db5b09abaf9c65509c2b3438..ca377d1af447d741f62677e7b330e9e33569727a 100644 (file)
@@ -68,6 +68,7 @@ static struct platform_device *easy83000_devices[] __initdata = {
 static void __init easy83000_setup(void)
 {
        gpio_request(ADM5120_GPIO_PIN3, NULL); /* for flash A20 line */
+       gpio_direction_output(ADM5120_GPIO_PIN3, 0);
 
        /* setup data for flash0 device */
        adm5120_flash0_data.switch_bank = switch_bank_gpio3;