arm/kinetis: Fix warning

8th bit of SCGC3 is NFC, see K60 Reference Manual
(K60P144M150SF3RM.pdf, 12.2.11).

Signed-off-by: Jiri Vlasak <jiri.vlasak@posteo.net>
This commit is contained in:
Jiri Vlasak
2025-12-09 10:43:00 +01:00
committed by simbit18
parent 5090572b2a
commit af205ebd39
+1 -1
View File
@@ -990,7 +990,7 @@
# define SIM_SCGC3_FLEXCAN1 (1 << 4) /* Bit 4: FlexCAN1 Clock Gate Control */
# endif
# if defined(KINETIS_SIM_HAS_SCGC3_NFC)
# define SIM_SCGC3_FLEXCAN1 (1 << 8) /* Bit 8: NFC Clock Gate Control */
# define SIM_SCGC3_NFC (1 << 8) /* Bit 8: NFC Clock Gate Control */
# endif
# if defined(KINETIS_SIM_HAS_SCGC3_SPI2)
# define SIM_SCGC3_SPI2 (1 << 12) /* Bit 12: SPI2 Clock Gate Control */