summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-05-19 21:33:14 +0000
committerwdenk <wdenk>2004-05-19 21:33:14 +0000
commite4cc71aa4403c82f0b3e89087024f83832ece9ec (patch)
tree48c8295c714dfbfe7be70796c87b41c2065f166f /include
parent10767ccb86e0413633e7d89fbbb354014288b036 (diff)
Patch by Scott McNutt, 25 Apr 2004:LABEL_2004_05_19_2335
Add Nios GDB/JTAG Console support: - Add stubs to support gdb via JTAG. - Add support for console over JTAG. - Minor cleanup.
Diffstat (limited to 'include')
-rw-r--r--include/configs/DK1C20.h1
-rw-r--r--include/nios-io.h13
2 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/DK1C20.h b/include/configs/DK1C20.h
index 71d52e996d5..358f7f4b91c 100644
--- a/include/configs/DK1C20.h
+++ b/include/configs/DK1C20.h
@@ -471,6 +471,7 @@
CFG_CMD_MII | \
CFG_CMD_PCI | \
CFG_CMD_PCMCIA | \
+ CFG_CMD_REISER | \
CFG_CMD_SCSI | \
CFG_CMD_SPI | \
CFG_CMD_VFD | \
diff --git a/include/nios-io.h b/include/nios-io.h
index 08aa9f976c4..dc7e127fe54 100644
--- a/include/nios-io.h
+++ b/include/nios-io.h
@@ -167,4 +167,17 @@ typedef volatile struct nios_asmi_t {
#define NIOS_ASMI_IEOP (1 << 9) /* rx eop int ena */
#define NIOS_ASMI_SSO (1 << 10) /* slave select enable */
+/*------------------------------------------------------------------------
+ * JTAG UART
+ *----------------------------------------------------------------------*/
+typedef volatile struct nios_jtag_t {
+ unsigned short rxcntl; /* Rx data/cntl reg */
+ unsigned short txcntl; /* Tx data/cntl reg */
+ unsigned short errcntl; /* Err dta/cntl reg */
+}nios_jtag_t;
+
+/* status register */
+#define NIOS_JTAG_TRDY (1 << 8) /* tx ready bit */
+#define NIOS_JTAG_RRDY (1 << 8) /* rx ready bit */
+
#endif /* __NIOSIO_H__ */