Ignore:
Timestamp:
Jul 2, 2015, 3:17:14 PM (9 years ago)
Author:
alain
Message:

Introducing the BDV / SDC / HBA switch in the tsar_generic_iob plat-form

File:
1 edited

Legend:

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

    r979 r1002  
    2727#  - nb_ttys        : number of TTY channels
    2828#  - fbf_width      : frame_buffer width = frame_buffer heigth
    29 #  - ioc_type       : can be 'BDV','HBA','SDC', but not 'RDK'
     29#  - ioc_type       : can be 'BDV','HBA','SDC', 'SPI' but not 'RDK'
    3030#   
    3131#
     
    7676    irq_per_proc    = 4         
    7777    peri_increment  = 0x10000 
    78     mwr_type        = 'GCD'
     78    mwr_type        = 'CPY'
    7979
    8080    ### constructor parameters checking
     
    9393            ((x_io == x_size-1) and (y_io == y_size-1)) )
    9494
    95     assert( ioc_type in [ 'BDV' , 'HBA' , 'SDC' ] )
     95    assert( ioc_type in [ 'BDV' , 'HBA' , 'SDC' , 'SPI' ] )
    9696
    9797    assert( mwr_type in [ 'GCD' , 'DCT' , 'CPY' , 'NONE' ] )
     
    294294                if ( ioc_type == 'HBA' ): isr_ioc = 'ISR_HBA'
    295295                if ( ioc_type == 'SDC' ): isr_ioc = 'ISR_SDC'
     296                if ( ioc_type == 'SPI' ): isr_ioc = 'ISR_SPI'
    296297
    297298                mapping.addIrq( pic, index = 8, src = ioc,
Note: See TracChangeset for help on using the changeset viewer.