rename sd to mmc to avoid name clash with sdram
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 1 Aug 2018 07:09:31 +0000 (08:09 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 1 Aug 2018 07:09:31 +0000 (08:09 +0100)
src/bsv/peripheral_gen/base.py
src/spec/pinfunctions.py

index 018015c06b0ac55784f2fd444f2addb039be26a1..2cd1ebcdeb9d1636bec8fc702c757fd970babcd7 100644 (file)
@@ -904,7 +904,7 @@ class PFactory(object):
                      'spi': spi,
                      'pwm': pwm,
                      'eint': eint,
-                     'sd': sdmmc,
+                     'mmc': sdmmc,
                      'jtag': jtag,
                      'lcd': rgbttl,
                      'fb': flexbus,
index 2a718355e6a45dbf7274cae6315589ec7a36c7f1..80a51296d6b9e18d8490b4330532c50882921dec 100644 (file)
@@ -252,8 +252,8 @@ def gpio(suffix, bank):
 # list functions by name here
 
 pinspec = (('IIS', i2s),
-           ('MMC', emmc),
-           ('SD', sdmmc),
+           ('EMMC', emmc),
+           ('MMC', sdmmc),
            ('MSPI', mspi),
            ('MQSPI', mquadspi),
            ('SPI', spi),