pkarashchenko commented on code in PR #7967:
URL: https://github.com/apache/nuttx/pull/7967#discussion_r1056833008


##########
arch/arm/src/s32k3xx/hardware/s32k3xx_pflash.h:
##########
@@ -203,6 +209,12 @@
 #define S32K3XX_PFLASH_PFCBLK3_LOCKMASTER_SS1        (S32K3XX_PFLASH_BASE + 
S32K3XX_PFLASH_PFCBLK3_LOCKMASTER_SS1_OFFSET)
 #define S32K3XX_PFLASH_PFCBLK3_LOCKMASTER_SS2        (S32K3XX_PFLASH_BASE + 
S32K3XX_PFLASH_PFCBLK3_LOCKMASTER_SS2_OFFSET)
 
+/* Flash Management Unit Register Addresses *********************************/
+
+#define S32K3XX_FMU_MCR                              (S32K3XX_FMU_BASE + 
S32K3XX_FMU_MCR_OFFSET)
+#define S32K3XX_FMU_MCRS                             (S32K3XX_FMU_BASE + 
S32K3XX_FMU_MCRS_OFFSET)
+#define S32K3XX_FMU_PD(n)                            (S32K3XX_FMU_BASE + 
S32K3XX_FMU_PD_OFFSET + (n * 4))

Review Comment:
   ```suggestion
   #define S32K3XX_FMU_PD(n) (S32K3XX_FMU_BASE + S32K3XX_FMU_PD_OFFSET + (n) * 
4)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to