Ignore:
Timestamp:
Apr 26, 2017, 2:14:33 PM (7 years ago)
Author:
alain
Message:

Modify the boot_info_t struct to describe external peripherals in all clusters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/arch_info/genarch.py

    r1 r6  
    2323#  --nb_ttys=int     : number of TTY channels
    2424#  --nb_nics=int     : number of NIC channels
    25 #  --nb_cmas=int     : number of CMA channels
    2625#  --fbf_size=int    : frame buffer width & heigth
    2726#  --ioc_type=string : can be IOC_BDV , IOC_HBA , IOC_SDC , IOC_SPI
    28 #  --mwr_type=string : can be MWR_GCD , MWR_DCT , MWR_CPY
    2927#  --io_cxy=int      : IO cluster identifier
    3028#  --boot_cxy=int    : boot cluster identifier
     
    7674                   help = 'define number ot NIC channels' )
    7775
    78 parser.add_option( '--nb_cmas', type = 'int', dest = 'nb_cmas',
    79                    default = 2,
    80                    help = 'define number ot CMA channels' )
    81 
    8276parser.add_option( '--fbf_size', type = 'int', dest = 'fbf_size',
    8377                   default = 128,
     
    8781                   default = 'IOC_BDV',
    8882                   help = 'define type of IOC: BDV / HBA / SDC / RDK / SPI' )
    89 
    90 parser.add_option( '--mwr_type', type = 'string', dest = 'mwr_type',
    91                    default = 'MWR_CPY',
    92                    help = 'define type of COPROC: CPY / DCT / GCD' )
    9383
    9484parser.add_option( '--io_cxy', type = 'int', dest = 'io_cxy',
     
    129119fbf_size       = options.fbf_size    # frame buffer width & heigth
    130120nb_nics        = options.nb_nics     # number of NIC channels           
    131 nb_cmas        = options.nb_cmas     # number of CMA channels           
    132121ioc_type       = options.ioc_type    # ioc controller type
    133 mwr_type       = options.mwr_type    # hardware coprocessor type
    134122io_cxy         = options.io_cxy      # IO cluster identifier
    135123boot_cxy       = options.boot_cxy    # boot cluster identifier
     
    163151                        nb_ttys,
    164152                        nb_nics,
    165                         nb_cmas,
    166153                        fbf_size,
    167154                        ioc_type,
    168                         mwr_type,
    169155                        io_cxy,
    170156                        boot_cxy,
Note: See TracChangeset for help on using the changeset viewer.