summaryrefslogtreecommitdiff
path: root/decoders/lpc/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2013-10-09 19:48:17 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2013-10-13 13:48:34 +0200
commit6554fbc9e135916909ea3cdb6b4d35e73b7daa07 (patch)
treeacd0c385755fe67d1c7029d55c6ad7e52e46dc88 /decoders/lpc/pd.py
parent59d3200cb1f7c64aabffcf3e69e66626d2fd83b7 (diff)
downloadlibsigrokdecode-6554fbc9e135916909ea3cdb6b4d35e73b7daa07.tar.gz
libsigrokdecode-6554fbc9e135916909ea3cdb6b4d35e73b7daa07.zip
lpc: Make the RESET# pin optional.
Diffstat (limited to 'decoders/lpc/pd.py')
-rw-r--r--decoders/lpc/pd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py
index 7664156..adcac1d 100644
--- a/decoders/lpc/pd.py
+++ b/decoders/lpc/pd.py
@@ -108,7 +108,6 @@ class Decoder(srd.Decoder):
outputs = ['lpc']
probes = [
{'id': 'lframe', 'name': 'LFRAME#', 'desc': 'TODO'},
- {'id': 'lreset', 'name': 'LRESET#', 'desc': 'TODO'},
{'id': 'lclk', 'name': 'LCLK', 'desc': 'TODO'},
{'id': 'lad0', 'name': 'LAD[0]', 'desc': 'TODO'},
{'id': 'lad1', 'name': 'LAD[1]', 'desc': 'TODO'},
@@ -116,6 +115,7 @@ class Decoder(srd.Decoder):
{'id': 'lad3', 'name': 'LAD[3]', 'desc': 'TODO'},
]
optional_probes = [
+ {'id': 'lreset', 'name': 'LRESET#', 'desc': 'TODO'},
{'id': 'ldrq', 'name': 'LDRQ#', 'desc': 'TODO'},
{'id': 'serirq', 'name': 'SERIRQ', 'desc': 'TODO'},
{'id': 'clkrun', 'name': 'CLKRUN#', 'desc': 'TODO'},
@@ -308,8 +308,8 @@ class Decoder(srd.Decoder):
self.oldpins = pins
# Get individual pin values into local variables.
- (lframe, lreset, lclk, lad0, lad1, lad2, lad3) = pins[:7]
- (ldrq, serirq, clkrun, lpme, lpcpd, lsmi) = pins[7:]
+ (lframe, lclk, lad0, lad1, lad2, lad3) = pins[:6]
+ (lreset, ldrq, serirq, clkrun, lpme, lpcpd, lsmi) = pins[6:]
# Only look at the signals upon rising LCLK edges. The LPC clock
# is the same as the PCI clock (which is sampled at rising edges).