[PATCH v3 04/38] bsps/grlib: Fix SpaceWire RMAP - Product ID

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 12 13:49:43 UTC 2023


Update #4842.
---
 bsps/include/grlib/spwrmap-regs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/include/grlib/spwrmap-regs.h b/bsps/include/grlib/spwrmap-regs.h
index a75b02a39b..7a19f4a2d3 100644
--- a/bsps/include/grlib/spwrmap-regs.h
+++ b/bsps/include/grlib/spwrmap-regs.h
@@ -1075,7 +1075,7 @@ extern "C" {
     SPWRMAP_PNPVEND_VI_MASK )
 
 #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 ) & SPWRMAP_PNPVEND_PI_MASK ) >> \
     SPWRMAP_PNPVEND_PI_SHIFT )
@@ -1112,7 +1112,7 @@ extern "C" {
     SPWRMAP_PNPUVEND_VI_MASK )
 
 #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 ) & SPWRMAP_PNPUVEND_PI_MASK ) >> \
     SPWRMAP_PNPUVEND_PI_SHIFT )
-- 
2.35.3



More information about the devel mailing list