summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/usrp2p
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-08-11 14:20:50 -0700
committerNick Foster <nick@nerdnetworks.org>2010-08-11 14:20:50 -0700
commitdfafbd5f2dbf0758df33d10922eec3c1a37dd32b (patch)
tree52b41ba41c66da558e4279f873ccfce3fb821354 /firmware/microblaze/usrp2p
parent1c237e7c8aba280e79b381bcdece68e828d24a04 (diff)
downloaduhd-dfafbd5f2dbf0758df33d10922eec3c1a37dd32b.tar.gz
uhd-dfafbd5f2dbf0758df33d10922eec3c1a37dd32b.tar.bz2
uhd-dfafbd5f2dbf0758df33d10922eec3c1a37dd32b.zip
Branch to make use of quad UART on USRP2P.
Diffstat (limited to 'firmware/microblaze/usrp2p')
-rw-r--r--firmware/microblaze/usrp2p/memory_map.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/microblaze/usrp2p/memory_map.h b/firmware/microblaze/usrp2p/memory_map.h
index 9c5b576d7..b69cc59bd 100644
--- a/firmware/microblaze/usrp2p/memory_map.h
+++ b/firmware/microblaze/usrp2p/memory_map.h
@@ -781,7 +781,10 @@ typedef struct {
volatile uint32_t rxchar; // Read received characters here
} uart_regs_t;
-#define uart_regs ((uart_regs_t *) UART_BASE)
+#define uart_regs_0 ((uart_regs_t *) UART_BASE)
+#define uart_regs_1 ((uart_regs_t *) UART_BASE + 0x0020)
+#define uart_regs_2 ((uart_regs_t *) UART_BASE + 0x0040)
+#define uart_regs_3 ((uart_regs_t *) UART_BASE + 0x0060)
///////////////////////////////////////////////////
// ATR Controller, Slave 11