X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/015aed13171ff6201459286e15fc5e0686a46907..442a48289daa57f0d8d8afda51683c15d3624989:/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/zyxel.c diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/zyxel.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/zyxel.c index 8b5787660..f6cdc8af4 100644 --- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/zyxel.c +++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/zyxel.c @@ -73,6 +73,7 @@ static struct platform_device *p335_devices[] __initdata = { static void __init p33x_setup(void) { gpio_request(ADM5120_GPIO_PIN5, NULL); /* for flash A20 line */ + gpio_direction_output(ADM5120_GPIO_PIN5, 0); /* setup data for flash0 device */ adm5120_flash0_data.switch_bank = switch_bank_gpio5;