Changeset 11767


Ignore:
Timestamp:
2008-07-11T17:13:12+02:00 (10 years ago)
Author:
kaloz
Message:

swap chipselects on the Pronghorn series

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch

    r11666 r11767  
    329329+ 
    330330+       if (machine_is_pronghorn()) { 
     331+               pronghorn_pata_resources[0].start = IXP4XX_EXP_BUS_BASE(2); 
     332+               pronghorn_pata_resources[0].end = IXP4XX_EXP_BUS_END(2); 
     333+ 
     334+               pronghorn_pata_resources[1].start = IXP4XX_EXP_BUS_BASE(3); 
     335+               pronghorn_pata_resources[1].end = IXP4XX_EXP_BUS_END(3); 
     336+ 
     337+               pronghorn_pata_data.cs0_cfg = IXP4XX_EXP_CS2; 
     338+               pronghorn_pata_data.cs1_cfg = IXP4XX_EXP_CS3; 
     339+       } else { 
    331340+               pronghorn_pata_resources[0].start = IXP4XX_EXP_BUS_BASE(3); 
    332341+               pronghorn_pata_resources[0].end = IXP4XX_EXP_BUS_END(3); 
     
    337346+               pronghorn_pata_data.cs0_cfg = IXP4XX_EXP_CS3; 
    338347+               pronghorn_pata_data.cs1_cfg = IXP4XX_EXP_CS4; 
    339 +       } else { 
    340 +               pronghorn_pata_resources[0].start = IXP4XX_EXP_BUS_BASE(2); 
    341 +               pronghorn_pata_resources[0].end = IXP4XX_EXP_BUS_END(2); 
    342 + 
    343 +               pronghorn_pata_resources[1].start = IXP4XX_EXP_BUS_BASE(3); 
    344 +               pronghorn_pata_resources[1].end = IXP4XX_EXP_BUS_END(3); 
    345 + 
    346 +               pronghorn_pata_data.cs0_cfg = IXP4XX_EXP_CS2; 
    347 +               pronghorn_pata_data.cs1_cfg = IXP4XX_EXP_CS3; 
    348348+ 
    349349+               platform_device_register(&pronghorn_i2c_gpio); 
Note: See TracChangeset for help on using the changeset viewer.