summaryrefslogtreecommitdiff
path: root/include/nios2-io.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-03-30 23:28:18 +0000
committerwdenk <wdenk>2005-03-30 23:28:18 +0000
commit0c1c117cf18ffa3fdc0342dfc47c6003fc5fc5a0 (patch)
treeac60588bc373565ce7a626e39b3d149e715be025 /include/nios2-io.h
parent8f0b7cbe8027c3745f5e0a199ecd152b032d8ad0 (diff)
* Patch by Scott McNutt, 21 Oct 2004:
Add support for Nios-II EPCS Controller core. * Patch by Scott McNutt, 20 Oct 2004: Nios-II cleanups: - Add sysid command (Nios-II only). - Locate default exception trampoline at proper offset. - Implement I/O routines (readb, writeb, etc) - Implement do_bootm_linux
Diffstat (limited to 'include/nios2-io.h')
-rw-r--r--include/nios2-io.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/include/nios2-io.h b/include/nios2-io.h
index d2aeabb9427..d5c8652d5d8 100644
--- a/include/nios2-io.h
+++ b/include/nios2-io.h
@@ -137,37 +137,6 @@ typedef volatile struct nios_spi_t {
#define NIOS_SPI_SSO (1 << 10) /* override SS_n output */
/*------------------------------------------------------------------------
- * ASMI
- *----------------------------------------------------------------------*/
-typedef volatile struct nios_asmi_t {
- unsigned rxdata; /* Rx data reg */
- unsigned txdata; /* Tx data reg */
- unsigned status; /* Status reg */
- unsigned control; /* Control reg */
- unsigned reserved;
- unsigned slavesel; /* Slave select */
- unsigned endofpacket; /* End-of-packet reg */
-}nios_asmi_t;
-
-/* status register */
-#define NIOS_ASMI_ROE (1 << 3) /* rx overrun */
-#define NIOS_ASMI_TOE (1 << 4) /* tx overrun */
-#define NIOS_ASMI_TMT (1 << 5) /* tx empty */
-#define NIOS_ASMI_TRDY (1 << 6) /* tx ready */
-#define NIOS_ASMI_RRDY (1 << 7) /* rx ready */
-#define NIOS_ASMI_E (1 << 8) /* exception */
-#define NIOS_ASMI_EOP (1 << 9) /* eop detected */
-
-/* control register */
-#define NIOS_ASMI_IROE (1 << 3) /* rx overrun int ena */
-#define NIOS_ASMI_ITOE (1 << 4) /* tx overrun int ena */
-#define NIOS_ASMI_ITRDY (1 << 6) /* tx ready int ena */
-#define NIOS_ASMI_IRRDY (1 << 7) /* rx ready int ena */
-#define NIOS_ASMI_IE (1 << 8) /* exception int ena */
-#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 {