summaryrefslogtreecommitdiff
path: root/bin/nv_rd32.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nv_rd32.c')
-rw-r--r--bin/nv_rd32.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/nv_rd32.c b/bin/nv_rd32.c
new file mode 100644
index 000000000..95cbd3b5c
--- /dev/null
+++ b/bin/nv_rd32.c
@@ -0,0 +1,7 @@
+#define FMTADDR "0x%06lx"
+#define FMTDATA "0x%08x"
+#define NAME "nv_rd32"
+#define CAST u32
+#define READ(o) nv_ro32(device, (o))
+#define MAIN main
+#include "nv_rdfunc.h"