From: Luke Kenneth Casson Leighton Date: Wed, 1 Aug 2018 07:09:31 +0000 (+0100) Subject: rename sd to mmc to avoid name clash with sdram X-Git-Url: https://git.libre-soc.org/?p=pinmux.git;a=commitdiff_plain;h=2488c1276d7ac04f55447a2dde0f38b284568167 rename sd to mmc to avoid name clash with sdram --- diff --git a/src/bsv/peripheral_gen/base.py b/src/bsv/peripheral_gen/base.py index 018015c..2cd1ebc 100644 --- a/src/bsv/peripheral_gen/base.py +++ b/src/bsv/peripheral_gen/base.py @@ -904,7 +904,7 @@ class PFactory(object): 'spi': spi, 'pwm': pwm, 'eint': eint, - 'sd': sdmmc, + 'mmc': sdmmc, 'jtag': jtag, 'lcd': rgbttl, 'fb': flexbus, diff --git a/src/spec/pinfunctions.py b/src/spec/pinfunctions.py index 2a71835..80a5129 100644 --- a/src/spec/pinfunctions.py +++ b/src/spec/pinfunctions.py @@ -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),