Changeset 7979


Ignore:
Timestamp:
2007-07-15T21:01:19+02:00 (11 years ago)
Author:
juhosg
Message:

[adm5120] fix of the board specific initialization of the GPIO pins

Location:
trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/cellvision.c

    r7916 r7979  
    102102{ 
    103103        gpio_request(ADM5120_GPIO_PIN5, NULL);  /* for flash A20 line */ 
     104        gpio_direction_output(ADM5120_GPIO_PIN5, 0); 
    104105 
    105106        /* setup data for flash0 device */ 
     
    114115{ 
    115116        gpio_request(ADM5120_GPIO_PIN5, NULL);  /* for flash A20 line */ 
     117        gpio_direction_output(ADM5120_GPIO_PIN5, 0); 
    116118 
    117119        /* setup data for flash0 device */ 
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/compex.c

    r7916 r7979  
    4747static void wp54_reset(void) 
    4848{ 
    49         gpio_direction_output(ADM5120_GPIO_PIN3, 0); 
     49        gpio_set_value(ADM5120_GPIO_PIN3, 0); 
    5050} 
    5151 
     
    7979{ 
    8080        gpio_request(ADM5120_GPIO_PIN5, NULL); /* for flash A20 line */ 
     81        gpio_direction_output(ADM5120_GPIO_PIN5, 0); 
    8182 
    8283        /* setup data for flash0 device */ 
     
    8990{ 
    9091        gpio_request(ADM5120_GPIO_PIN5, NULL); /* for flash A20 line */ 
     92        gpio_direction_output(ADM5120_GPIO_PIN5, 0); 
     93 
    9194        gpio_request(ADM5120_GPIO_PIN3, NULL); /* for system reset */ 
     95        gpio_direction_output(ADM5120_GPIO_PIN3, 1); 
     96 
    9297 
    9398        /* setup data for flash0 device */ 
     
    100105{ 
    101106        gpio_request(ADM5120_GPIO_PIN5, NULL); /* for flash A20 line */ 
     107        gpio_direction_output(ADM5120_GPIO_PIN5, 0); 
     108 
    102109        gpio_request(ADM5120_GPIO_PIN3, NULL); /* for system reset */ 
     110        gpio_direction_output(ADM5120_GPIO_PIN3, 1); 
    103111 
    104112        /* setup data for flash0 device */ 
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/infineon.c

    r7916 r7979  
    6969{ 
    7070        gpio_request(ADM5120_GPIO_PIN3, NULL); /* for flash A20 line */ 
     71        gpio_direction_output(ADM5120_GPIO_PIN3, 0); 
    7172 
    7273        /* setup data for flash0 device */ 
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/boards/zyxel.c

    r7916 r7979  
    7474{ 
    7575        gpio_request(ADM5120_GPIO_PIN5, NULL); /* for flash A20 line */ 
     76        gpio_direction_output(ADM5120_GPIO_PIN5, 0); 
    7677 
    7778        /* setup data for flash0 device */ 
Note: See TracChangeset for help on using the changeset viewer.