From: Luke Kenneth Casson Leighton Date: Mon, 30 Jul 2018 04:51:28 +0000 (+0100) Subject: missed mk_pincon rename for sdcard X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7243437893e11f14b106ed99c5e20590ac5c7fa9;p=pinmux.git missed mk_pincon rename for sdcard --- diff --git a/src/bsv/peripheral_gen/sdmmc.py b/src/bsv/peripheral_gen/sdmmc.py index cb83ebd..913ee97 100644 --- a/src/bsv/peripheral_gen/sdmmc.py +++ b/src/bsv/peripheral_gen/sdmmc.py @@ -20,8 +20,9 @@ class sdmmc(PBase): return pname return '' - def mk_pincon(self, name, count): - ret = [PBase.mk_pincon(self, name, count)] + def _mk_pincon(self, name, count, typ): + assert typ == 'slow', "TODO: mkConnection for fast" + ret = [PBase.mk_pincon(self, name, count, typ)] # special-case for gpio in, store in a temporary vector plen = len(self.peripheral.pinspecs) template = "mkConnection({0}.{1},\n\t\t\t{2}.{1});"