Skip to content

Commit 6b7a6d6

Browse files
decsnyjhedberg
authored andcommitted
soc: k2x: Remove HAS_MCUX_SMC
Only the k2x series socs seem to be pulling in this driver for some reason, the kconfig is not needed. Signed-off-by: Declan Snyder <[email protected]>
1 parent e8c6275 commit 6b7a6d6

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

modules/hal_nxp/mcux/Kconfig.mcux

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ config HAS_MCUX_SRC_V2
5252
Set if version 2 of the system reset controller (SRC) module is
5353
present in the SoC.
5454

55-
config HAS_MCUX_SMC
56-
bool
57-
help
58-
Set if the SMC module is present in the SoC.
59-
6055
config HAS_MCUX_RDC
6156
bool
6257
help

modules/hal_nxp/mcux/mcux-sdk-ng/drivers/drivers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ set_variable_ifdef(CONFIG_ENTROPY_MCUX_RNGA CONFIG_MCUX_COMPONENT_driver.rng
6666
set_variable_ifdef(CONFIG_ENTROPY_MCUX_TRNG CONFIG_MCUX_COMPONENT_driver.trng)
6767
set_variable_ifdef(CONFIG_ENTROPY_MCUX_CAAM CONFIG_MCUX_COMPONENT_driver.caam)
6868
set_variable_ifdef(CONFIG_ETH_NXP_ENET CONFIG_MCUX_COMPONENT_driver.enet)
69-
set_variable_ifdef(CONFIG_HAS_MCUX_SMC CONFIG_MCUX_COMPONENT_driver.smc)
69+
set_variable_ifdef(CONFIG_SOC_SERIES_KINETIS_K2X CONFIG_MCUX_COMPONENT_driver.smc)
7070
set_variable_ifdef(CONFIG_I2C_MCUX CONFIG_MCUX_COMPONENT_driver.i2c)
7171
set_variable_ifdef(CONFIG_I2C_NXP_II2C CONFIG_MCUX_COMPONENT_driver.ii2c)
7272
set_variable_ifdef(CONFIG_I3C_MCUX CONFIG_MCUX_COMPONENT_driver.i3c)

soc/nxp/kinetis/k2x/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ config SOC_SERIES_KINETIS_K2X
1818

1919
config SOC_MK22F51212
2020
select HAS_MCUX
21-
select HAS_MCUX_SMC
2221
select HAS_MCUX_SIM
2322
select HAS_OSC
2423
select HAS_MCG
@@ -29,7 +28,6 @@ config SOC_MK22F51212
2928
# NXP's MCUX SDK, and not recommended for new designs.
3029
config SOC_MK22F12
3130
select HAS_MCUX
32-
select HAS_MCUX_SMC
3331
select HAS_MCUX_SIM
3432
select HAS_OSC
3533
select HAS_MCG

0 commit comments

Comments
 (0)