[PATCH 058/111] GRSPW: Fix incorrect register defines - presently functionally inconsequential
Daniel Hellstrom
daniel at gaisler.com
Thu Feb 26 16:39:00 UTC 2015
From: Andreas Larsson <andreas at gaisler.com>
---
c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c b/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c
index 6b6820a..1696c3c 100644
--- a/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c
+++ b/c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c
@@ -173,10 +173,10 @@ struct grspw_regs {
#define GRSPW_DK_DESTKEY (0xff<<GRSPW_DK_DESTKEY_BIT)
/* GRSPW - Time Register - 0x14 */
-#define GRSPW_TIME_CTRL_BIT 0
-#define GRSPW_TIME_CNT_BIT 6
-#define GRSPW_TIME_CTRL (0x3f<<GRSPW_TIME_CTRL_BIT)
-#define GRSPW_TIME_TCNT (0x3<<GRSPW_TIME_CNT_BIT)
+#define GRSPW_TIME_CTRL_BIT 6
+#define GRSPW_TIME_CNT_BIT 0
+#define GRSPW_TIME_CTRL (0x3<<GRSPW_TIME_CTRL_BIT)
+#define GRSPW_TIME_TCNT (0x3f<<GRSPW_TIME_CNT_BIT)
/* GRSPW - DMA Control Register - 0x20*N */
#define GRSPW_DMACTRL_LE_BIT 16
--
1.7.0.4
More information about the devel
mailing list