Changeset 565 for soft/giet_vm/giet_python
- Timestamp:
- May 18, 2015, 6:51:03 PM (10 years ago)
- Location:
- soft/giet_vm/giet_python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_python/genmap
r546 r565 76 76 parser.add_option( '--ioc', type = 'string', dest = 'ioc_type', 77 77 default = 'BDV', 78 help = 'define type of IOC: BDV / HBA / SDC / RDK ' )78 help = 'define type of IOC: BDV / HBA / SDC / RDK / SPI' ) 79 79 80 80 parser.add_option( '--v', action = 'store_true', dest = 'verbose', -
soft/giet_vm/giet_python/mapping.py
r562 r565 70 70 'HBA', 71 71 'SDC', 72 'SPI', 72 73 ] 73 74 … … 104 105 'ISR_MWR', 105 106 'ISR_HBA', 107 'ISR_SPI', 106 108 ] 107 109 … … 735 737 use_ioc_sdc = False 736 738 use_ioc_hba = False 739 use_ioc_spi = False 737 740 738 741 nb_mmc = 0 … … 831 834 if ( periph.subtype == 'HBA' ): use_ioc_hba = True 832 835 if ( periph.subtype == 'SDC' ): use_ioc_sdc = True 836 if ( periph.subtype == 'SPI' ): use_ioc_spi = True 833 837 834 838 elif ( periph.ptype == 'MMC' ): … … 916 920 if use_ioc_bdv: nb_ioc_types += 1 917 921 if use_ioc_sdc: nb_ioc_types += 1 922 if use_ioc_spi: nb_ioc_types += 1 918 923 if self.use_ramdisk: nb_ioc_types += 1 919 924 assert ( nb_ioc_types == 1 ) … … 1040 1045 s += '#define USE_IOC_SDC %d\n' % use_ioc_sdc 1041 1046 s += '#define USE_IOC_HBA %d\n' % use_ioc_hba 1047 s += '#define USE_IOC_SPI %d\n' % use_ioc_spi 1042 1048 s += '#define USE_IOC_RDK %d\n' % self.use_ramdisk 1043 1049 s += '\n'
Note: See TracChangeset
for help on using the changeset viewer.