Index: soft/giet_vm/giet_python/genmap
===================================================================
--- soft/giet_vm/giet_python/genmap	(revision 562)
+++ soft/giet_vm/giet_python/genmap	(revision 565)
@@ -76,5 +76,5 @@
 parser.add_option( '--ioc', type = 'string', dest = 'ioc_type',
                    default = 'BDV',
-                   help = 'define type of IOC: BDV / HBA / SDC / RDK' )
+                   help = 'define type of IOC: BDV / HBA / SDC / RDK / SPI' )
 
 parser.add_option( '--v', action = 'store_true', dest = 'verbose',
Index: soft/giet_vm/giet_python/mapping.py
===================================================================
--- soft/giet_vm/giet_python/mapping.py	(revision 562)
+++ soft/giet_vm/giet_python/mapping.py	(revision 565)
@@ -70,4 +70,5 @@
                   'HBA',
                   'SDC',
+                  'SPI',
                  ]
 
@@ -104,4 +105,5 @@
                   'ISR_MWR',
                   'ISR_HBA',
+                  'ISR_SPI',
                  ]
 
@@ -735,4 +737,5 @@
         use_ioc_sdc  = False
         use_ioc_hba  = False
+        use_ioc_spi  = False
 
         nb_mmc       = 0
@@ -831,4 +834,5 @@
                     if ( periph.subtype == 'HBA' ): use_ioc_hba = True
                     if ( periph.subtype == 'SDC' ): use_ioc_sdc = True
+                    if ( periph.subtype == 'SPI' ): use_ioc_spi = True
 
                 elif ( periph.ptype == 'MMC' ):
@@ -916,4 +920,5 @@
         if use_ioc_bdv:       nb_ioc_types += 1
         if use_ioc_sdc:       nb_ioc_types += 1
+        if use_ioc_spi:       nb_ioc_types += 1
         if self.use_ramdisk:  nb_ioc_types += 1
         assert ( nb_ioc_types == 1 )
@@ -1040,4 +1045,5 @@
         s += '#define USE_IOC_SDC            %d\n'    % use_ioc_sdc
         s += '#define USE_IOC_HBA            %d\n'    % use_ioc_hba
+        s += '#define USE_IOC_SPI            %d\n'    % use_ioc_spi
         s += '#define USE_IOC_RDK            %d\n'    % self.use_ramdisk
         s += '\n'
