Changeset 955 for trunk/platforms


Ignore:
Timestamp:
Mar 10, 2015, 2:02:07 PM (10 years ago)
Author:
alain
Message:

Modify the arch.py file to comply with the new prototype
of addPeriph(): 4 arguments arg0, arg1, arg2, arg3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_iob/arch.py

    r946 r955  
    216216            xcu = mapping.addPeriph( 'XCU', base = xcu_base + offset,
    217217                                     size = xcu_size, ptype = 'XCU',
    218                                      channels = nb_procs * irq_per_proc, arg = 32 )
     218                                     channels = nb_procs * irq_per_proc,
     219                                     arg0 = 32, arg1 = 32, arg2 = 32, arg3 = 16 )
    219220
    220221            mapping.addIrq( xcu, index = 0, isrtype = 'ISR_MMC' )
     
    246247
    247248                fbf = mapping.addPeriph( 'FBF', base = fbf_base + offset, size = fbf_size,
    248                                          ptype = 'FBF', arg = fbf_width )
     249                                         ptype = 'FBF', arg0 = fbf_width, arg1 = fbf_width )
    249250
    250251                rom = mapping.addPeriph( 'ROM', base = rom_base + offset, size = rom_size,
Note: See TracChangeset for help on using the changeset viewer.