bugfix start-point prototype pinmux for LibreSOC 180nm
[pinmux.git] / src / spec / pinfunctions.py
index 1cb7f1270361f13e6bc58dab05f763bb3cfd52d7..e46be8d114f00bbf571092c4e7a9ec5ece39d04b 100644 (file)
@@ -48,14 +48,15 @@ def i2s(suffix, bank):
 
 
 # XXX TODO: correct these.  this is a stub for now
-def lpc(suffix, bank, pincount=8):
-    emmcpins = ['CMD+', 'CLK+']
+# https://bugs.libre-soc.org/show_bug.cgi?id=303
+def lpc(suffix, bank, pincount=4):
+    lpcpins = ['CMD+', 'CLK+']
     inout = []
     for i in range(pincount):
         pname = "D%d*" % i
-        emmcpins.append(pname)
+        lpcpins.append(pname)
         inout.append(pname)
-    return (emmcpins, inout)
+    return (lpcpins, inout)
 
 
 def emmc(suffix, bank, pincount=8):