X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/015aed13171ff6201459286e15fc5e0686a46907..547672a7cbccb31081ec14280f58d5c6611e913f:/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/cellvision.c diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/cellvision.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/cellvision.c index fb844b7bb..fa82b93a1 100644 --- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/cellvision.c +++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/cellvision.c @@ -101,6 +101,7 @@ static struct platform_device *cas7xx_devices[] __initdata = { static void __init cas6xx_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; @@ -113,6 +114,7 @@ static void __init cas6xx_setup(void) static void __init cas7xx_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;