[PATCH v3 08/38] bsps/grlib: Expand GRCLKGATE register bit fields
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Jul 12 13:49:47 UTC 2023
Use the maximum width supported by the GRLIB even if this exceeds the
configuration limits of a particular IP instance.
Update #4842.
---
bsps/include/grlib/grclkgate-regs.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bsps/include/grlib/grclkgate-regs.h b/bsps/include/grlib/grclkgate-regs.h
index cf0a136802..22dae51207 100644
--- a/bsps/include/grlib/grclkgate-regs.h
+++ b/bsps/include/grlib/grclkgate-regs.h
@@ -82,7 +82,7 @@ extern "C" {
*/
#define GRCLKGATE_UNLOCK_UNLOCK_SHIFT 0
-#define GRCLKGATE_UNLOCK_UNLOCK_MASK 0x7ffU
+#define GRCLKGATE_UNLOCK_UNLOCK_MASK 0xffffffffU
#define GRCLKGATE_UNLOCK_UNLOCK_GET( _reg ) \
( ( ( _reg ) & GRCLKGATE_UNLOCK_UNLOCK_MASK ) >> \
GRCLKGATE_UNLOCK_UNLOCK_SHIFT )
@@ -105,7 +105,7 @@ extern "C" {
*/
#define GRCLKGATE_CLKEN_ENABLE_SHIFT 0
-#define GRCLKGATE_CLKEN_ENABLE_MASK 0x7ffU
+#define GRCLKGATE_CLKEN_ENABLE_MASK 0xffffffffU
#define GRCLKGATE_CLKEN_ENABLE_GET( _reg ) \
( ( ( _reg ) & GRCLKGATE_CLKEN_ENABLE_MASK ) >> \
GRCLKGATE_CLKEN_ENABLE_SHIFT )
@@ -128,7 +128,7 @@ extern "C" {
*/
#define GRCLKGATE_RESET_RESET_SHIFT 0
-#define GRCLKGATE_RESET_RESET_MASK 0x7ffU
+#define GRCLKGATE_RESET_RESET_MASK 0xffffffffU
#define GRCLKGATE_RESET_RESET_GET( _reg ) \
( ( ( _reg ) & GRCLKGATE_RESET_RESET_MASK ) >> \
GRCLKGATE_RESET_RESET_SHIFT )
--
2.35.3
More information about the devel
mailing list