summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/comm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-02-23 01:32:52 +0100
committerHarald Welte <laforge@gnumonks.org>2010-02-23 01:44:46 +0100
commit1d271dea3f5718ad9511222bd522094f106ad251 (patch)
tree368d7102c7545c290b939531dcc8055fea3126ed /src/target/firmware/include/comm
parent3f3a84d5164927aaa430596da773fb96cf5ee890 (diff)
Calypso TPU: Introduce TPU debug mode
Using #define TPU_DEBUG, we can now send the full TPU RAM contents to the host PC (using a sercomm DLCI) at the time of tpu_enable() which is very helpful for TPU debugging.
Diffstat (limited to 'src/target/firmware/include/comm')
-rw-r--r--src/target/firmware/include/comm/sercomm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/firmware/include/comm/sercomm.h b/src/target/firmware/include/comm/sercomm.h
index 7836b552..7ef964f4 100644
--- a/src/target/firmware/include/comm/sercomm.h
+++ b/src/target/firmware/include/comm/sercomm.h
@@ -20,6 +20,7 @@
/* a low sercomm_dlci means high priority. A high DLCI means low priority */
enum sercomm_dlci {
SC_DLCI_HIGHEST = 0,
+ SC_DLCI_DEBUG = 4,
SC_DLCI_L1A_L23 = 5,
SC_DLCI_CONSOLE = 10,
_SC_DLCI_MAX