Skip to content

Commit 7ff0038

Browse files
decsnyjhedberg
authored andcommitted
modules: Remove HAS_MCUX_TPM
The only code change to remove this was a redundant usage in the rt1180 soc.c which was not needed because it was redundant, if you catch my drift. Signed-off-by: Declan Snyder <[email protected]>
1 parent 5ae654e commit 7ff0038

File tree

5 files changed

+0
-12
lines changed

5 files changed

+0
-12
lines changed

modules/hal_nxp/mcux/Kconfig.mcux

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ config HAS_MCUX_SMC
7272
help
7373
Set if the SMC module is present in the SoC.
7474

75-
config HAS_MCUX_TPM
76-
bool
77-
help
78-
Set if the Timer/PWM Module is present in the SoC
79-
8075
config HAS_MCUX_RDC
8176
bool
8277
help

soc/nxp/imxrt/imxrt118x/soc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,6 @@ __weak void clock_init(void)
546546
CLOCK_SetRootClock(kCLOCK_Root_Flexspi1, &rootCfg);
547547
#endif
548548

549-
#ifdef CONFIG_HAS_MCUX_TPM
550-
551549
#if DT_NODE_HAS_STATUS(DT_NODELABEL(tpm2), okay)
552550
/* Configure TPM2 using SYS_PLL3_DIV2_CLK */
553551
rootCfg.mux = kCLOCK_TPM2_ClockRoot_MuxSysPll3Div2;
@@ -576,8 +574,6 @@ __weak void clock_init(void)
576574
CLOCK_SetRootClock(kCLOCK_Root_Tpm6, &rootCfg);
577575
#endif
578576

579-
#endif /* CONFIG_HAS_MCUX_TPM */
580-
581577
#ifdef CONFIG_DT_HAS_NXP_MCUX_I3C_ENABLED
582578

583579
#if DT_NODE_HAS_STATUS(DT_NODELABEL(i3c1), okay)

soc/nxp/kinetis/k32lx/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ config SOC_SERIES_K32LX
1212
select HAS_MCUX
1313
select HAS_MCUX_SIM
1414
select HAS_MCUX_RCM
15-
select HAS_MCUX_TPM
1615
select CLOCK_CONTROL
1716
select SOC_RESET_HOOK
1817
select SOC_EARLY_INIT_HOOK

soc/nxp/kinetis/kwx/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ config SOC_MKW41Z4
4141
select CPU_CORTEX_M0PLUS
4242
select HAS_MCUX
4343
select HAS_MCUX_SIM
44-
select HAS_MCUX_TPM
4544
select HAS_OSC
4645
select HAS_MCG
4746
select HAS_MCUX_RCM

soc/nxp/mcx/mcxc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ config SOC_FAMILY_MCXC
1111
select HAS_MCUX
1212
select HAS_MCUX_SIM
1313
select HAS_MCUX_RCM
14-
select HAS_MCUX_TPM
1514
select SOC_EARLY_INIT_HOOK
1615
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
1716

0 commit comments

Comments
 (0)