summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-17 16:42:27 -0800
committerJosh Blum <josh@joshknows.com>2010-12-11 18:43:09 -0800
commit58d19c5adf7bde9298ad4363c275f72e4bbecd73 (patch)
tree5aed8d5b83767058fb7e57c4c6b53f442650ea6c /firmware/microblaze/usrp2
parentb621dea91eeebe05c4823bc2da8780fa12997169 (diff)
downloaduhd-58d19c5adf7bde9298ad4363c275f72e4bbecd73.tar.gz
uhd-58d19c5adf7bde9298ad4363c275f72e4bbecd73.tar.bz2
uhd-58d19c5adf7bde9298ad4363c275f72e4bbecd73.zip
usrp2: remove non-relevant buffer pool things from memory map
Diffstat (limited to 'firmware/microblaze/usrp2')
-rw-r--r--firmware/microblaze/usrp2/memory_map.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/microblaze/usrp2/memory_map.h b/firmware/microblaze/usrp2/memory_map.h
index 8e2360c93..2b07ff148 100644
--- a/firmware/microblaze/usrp2/memory_map.h
+++ b/firmware/microblaze/usrp2/memory_map.h
@@ -53,9 +53,7 @@
#define BUFFER_POOL_RAM_BASE 0x8000
-#define NBUFFERS 8
#define BP_NLINES 0x0200 // number of 32-bit lines in a buffer
-#define BP_LAST_LINE (BP_NLINES - 1) // last line in a buffer
#define buffer_pool_ram \
((uint32_t *) BUFFER_POOL_RAM_BASE)
@@ -173,8 +171,8 @@ typedef struct {
#define BUFFER_POOL_STATUS_BASE 0xCC00
typedef struct {
- volatile uint32_t last_line[NBUFFERS]; // last line xfer'd in buffer
- volatile uint32_t status; // error and done flags
+ volatile uint32_t _padding[8];
+ volatile uint32_t status;
volatile uint32_t hw_config; // see below
volatile uint32_t dummy[3];
volatile uint32_t irqs;