From 2488c1276d7ac04f55447a2dde0f38b284568167 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 1 Aug 2018 08:09:31 +0100 Subject: [PATCH] rename sd to mmc to avoid name clash with sdram --- src/bsv/peripheral_gen/base.py | 2 +- src/spec/pinfunctions.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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), -- 2.30.2