Skip to content

Commit e8c6275

Browse files
decsnyjhedberg
authored andcommitted
soc: imxrt: Remove HAS_MCUX_ DCDC, GPC, PMU
Remove these kconfigs and substitute with equivalent series configs. Signed-off-by: Declan Snyder <[email protected]>
1 parent 7ff0038 commit e8c6275

File tree

4 files changed

+4
-23
lines changed

4 files changed

+4
-23
lines changed

modules/hal_nxp/mcux/Kconfig.mcux

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,6 @@ config HAS_MCUX_FLEXSPI
2828
help
2929
Set if the flexible SPI (FlexSPI) module is present in the SoC.
3030

31-
config HAS_MCUX_GPC
32-
bool
33-
help
34-
Set if the general power controller (GPC) module is present in the SoC.
35-
36-
config HAS_MCUX_PMU
37-
bool
38-
help
39-
Set if the power management unit (PMU) module is present in the SoC.
40-
41-
config HAS_MCUX_DCDC
42-
bool
43-
help
44-
Set if the DCDC converter module is present in the SoC.
45-
4631
config HAS_MCUX_SEMC
4732
bool
4833
help

soc/nxp/imxrt/Kconfig.defconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ config CORTEX_M_SYSTICK
3232
default n if MCUX_GPT_TIMER
3333

3434
config PM_MCUX_GPC
35-
default y if HAS_MCUX_GPC
35+
default y
3636
depends on SOC_SERIES_IMXRT11XX && PM
3737

3838
if SOC_SERIES_IMXRT10XX && PM
@@ -41,13 +41,13 @@ config CODE_DATA_RELOCATION
4141
default y
4242

4343
config PM_MCUX_GPC
44-
default y if HAS_MCUX_GPC
44+
default y if SOC_SERIES_IMXRT10XX || SOC_SERIES_IMXRT11XX
4545

4646
config PM_MCUX_DCDC
47-
default y if HAS_MCUX_DCDC
47+
default y if SOC_SERIES_IMXRT10XX
4848

4949
config PM_MCUX_PMU
50-
default y if HAS_MCUX_PMU
50+
default y if SOC_SERIES_IMXRT10XX
5151

5252
endif # SOC_SERIES_IMXRT10XX && PM
5353

soc/nxp/imxrt/imxrt10xx/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ config SOC_SERIES_IMXRT10XX
1212
select HAS_MCUX
1313
select HAS_MCUX_CACHE
1414
select HAS_MCUX_FLEXSPI
15-
select HAS_MCUX_GPC
16-
select HAS_MCUX_PMU
17-
select HAS_MCUX_DCDC
1815
select HAS_SWO
1916
select HAS_PM
2017
select SOC_RESET_HOOK

soc/nxp/imxrt/imxrt11xx/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ config SOC_SERIES_IMXRT11XX
1717
select CPU_HAS_DCACHE if CPU_CORTEX_M7
1818
select CPU_HAS_FPU
1919
select CPU_HAS_FPU_DOUBLE_PRECISION if CPU_CORTEX_M7
20-
select HAS_MCUX_GPC
2120
select HAS_MCUX_SRC_V2
2221
select HAS_SWO
2322
select HAS_PM

0 commit comments

Comments
 (0)