aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/x300/include/wb_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/x300/include/wb_utils.h')
-rw-r--r--firmware/x300/include/wb_utils.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/firmware/x300/include/wb_utils.h b/firmware/x300/include/wb_utils.h
deleted file mode 100644
index 34be51b8f..000000000
--- a/firmware/x300/include/wb_utils.h
+++ /dev/null
@@ -1,24 +0,0 @@
-
-// Copyright 2012 Ettus Research LLC
-
-#ifndef INCLUDED_WB_UTILS_H
-#define INCLUDED_WB_UTILS_H
-
-#include <stdint.h>
-
-#define localparam static const int
-
-static inline void wb_poke32(const uint32_t addr, const uint32_t data)
-{
- *((volatile uint32_t *)addr) = data;
-}
-
-static inline uint32_t wb_peek32(const uint32_t addr)
-{
- const uint32_t data = *((volatile uint32_t *)addr);
- return data;
-}
-
-#define SR_ADDR(base, offset) ((base) + (offset)*4)
-
-#endif /* INCLUDED_WB_UTILS_H */