X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/2023b23e98790fb560269255680bb02dc0d8ff65..dcd9e5ec4d406ffa11da844bf28d64268448919e:/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;