Changeset 546 for trunk/tools/arch_info/arch_classes.py
- Timestamp:
- Sep 21, 2018, 10:23:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/arch_info/arch_classes.py
r542 r546 363 363 364 364 ###################################################################### 365 def hard_config( self ): # compute string for hard_config.h file365 def hard_config( self, ioc_type ): # compute string for hard_config.h file 366 366 # required by 367 367 # - top.cpp compilation … … 557 557 558 558 # one and only one IOC controller 559 assert ( nb_ioc == 1 )559 # assert ( nb_ioc == 1 ) 560 560 561 561 # compute rdk_base and rdk_size … … 623 623 s += '#define USE_DMA %d\n' % ( nb_dma != 0 ) 624 624 s += '\n' 625 s += '#define USE_IOC_BDV %d\n' % use_ioc_bdv626 s += '#define USE_IOC_SDC %d\n' % use_ioc_sdc627 s += '#define USE_IOC_HBA %d\n' % use_ioc_hba628 s += '#define USE_IOC_SPI %d\n' % use_ioc_spi625 s += '#define USE_IOC_BDV %d\n' % (use_ioc_bdv and ioc_type == "IOC_BDV") 626 s += '#define USE_IOC_SDC %d\n' % (use_ioc_sdc and ioc_type == "IOC_SDC") 627 s += '#define USE_IOC_HBA %d\n' % (use_ioc_hba and ioc_type == "IOC_HBA") 628 s += '#define USE_IOC_SPI %d\n' % (use_ioc_spi and ioc_type == "IOC_SPI") 629 629 s += '#define USE_IOC_RDK %d\n' % use_ioc_rdk 630 630 s += '\n'
Note: See TracChangeset
for help on using the changeset viewer.