Changeset 26321


Ignore:
Timestamp:
2011-03-27T21:19:41+02:00 (7 years ago)
Author:
juhosg
Message:

ramips: enable MDIO on the HW550-3G board

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-hw550-3g.c

    r26320 r26321  
    123123}; 
    124124 
     125#define HW550_3G_GPIO_MODE \ 
     126        ((RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT) | \ 
     127         RT305X_GPIO_MODE_MDIO) 
     128 
    125129static void __init hw550_3g_init(void) 
    126130{ 
    127         rt305x_gpio_init(RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT); 
     131        rt305x_gpio_init(HW550_3G_GPIO_MODE); 
    128132 
    129133        rt305x_register_flash(0, &hw550_3g_flash_data); 
Note: See TracChangeset for help on using the changeset viewer.