Ignore:
Timestamp:
Apr 16, 2015, 12:41:54 PM (10 years ago)
Author:
alain
Message:

The mmc variable corresponding to the MMC peripheral must be defined
To support the new addIrq() prototype.

File:
1 edited

Legend:

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

    r975 r979  
    7676    irq_per_proc    = 4         
    7777    peri_increment  = 0x10000 
    78     mwr_type        = 'CPY'
     78    mwr_type        = 'GCD'
    7979
    8080    ### constructor parameters checking
     
    221221                                     arg0 = 32, arg1 = 32, arg2 = 32 )
    222222
    223             mapping.addPeriph( 'MMC', base = mmc_base + offset,
    224                                size = mmc_size, ptype = 'MMC' )
     223            mmc = mapping.addPeriph( 'MMC', base = mmc_base + offset,
     224                                     size = mmc_size, ptype = 'MMC' )
    225225
    226226            if ( mwr_type == 'GCD' ):
Note: See TracChangeset for help on using the changeset viewer.