summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-02-16 09:17:39 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-03-17 08:48:52 +0100
commit1aeebcb9932fcc3bd7badfcc2b719f61801cde2b (patch)
tree300288c7d7c6d6e226e3969e9ddca9e155d62901
parentcb3551773e37214641c70c1efd859e640c2fb82f (diff)
bsps/grlib: Fix SpaceWire RMAP - Product ID
Update #4842.
-rw-r--r--bsps/include/grlib/spwrmap-regs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsps/include/grlib/spwrmap-regs.h b/bsps/include/grlib/spwrmap-regs.h
index 8f6d4b5282..d01938dd9c 100644
--- a/bsps/include/grlib/spwrmap-regs.h
+++ b/bsps/include/grlib/spwrmap-regs.h
@@ -802,9 +802,9 @@ extern "C" {
#define SPWRMAP_PNPVEND_VI( _val ) ( ( _val ) << 16 )
#define SPWRMAP_PNPVEND_PI_SHIFT 0
-#define SPWRMAP_PNPVEND_PI_MASK 0x3ffffffU
+#define SPWRMAP_PNPVEND_PI_MASK 0xffffU
#define SPWRMAP_PNPVEND_PI_GET( _reg ) \
- ( ( ( _reg ) >> 0 ) & 0x3ffffffU )
+ ( ( ( _reg ) >> 0 ) & 0xffffU )
#define SPWRMAP_PNPVEND_PI( _val ) ( ( _val ) << 0 )
/** @} */
@@ -825,9 +825,9 @@ extern "C" {
#define SPWRMAP_PNPUVEND_VI( _val ) ( ( _val ) << 16 )
#define SPWRMAP_PNPUVEND_PI_SHIFT 0
-#define SPWRMAP_PNPUVEND_PI_MASK 0x3ffffffU
+#define SPWRMAP_PNPUVEND_PI_MASK 0xffffU
#define SPWRMAP_PNPUVEND_PI_GET( _reg ) \
- ( ( ( _reg ) >> 0 ) & 0x3ffffffU )
+ ( ( ( _reg ) >> 0 ) & 0xffffU )
#define SPWRMAP_PNPUVEND_PI( _val ) ( ( _val ) << 0 )
/** @} */