Skip to content

Commit 5f742ac

Browse files
decsnyjhedberg
authored andcommitted
modules: nxp: imx: Remove HAS_IMX_* configs
Remove all these legacy configs which are not necessary. Signed-off-by: Declan Snyder <[email protected]>
1 parent 83420a7 commit 5f742ac

File tree

6 files changed

+2
-33
lines changed

6 files changed

+2
-33
lines changed

drivers/gpio/Kconfig.imx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
config GPIO_IMX
77
bool "IMX GPIO driver"
88
default y
9-
depends on HAS_IMX_GPIO
109
depends on DT_HAS_NXP_IMX_GPIO_ENABLED
10+
depends on SOC_SERIES_IMX6SX || SOC_SERIES_IMX7D
1111
select PINCTRL
1212
help
1313
Enable the IMX GPIO driver.

drivers/gpio/Kconfig.mcux_igpio

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ config GPIO_MCUX_IGPIO
88
default y
99
depends on HAS_MCUX_IGPIO
1010
depends on DT_HAS_NXP_IMX_GPIO_ENABLED
11+
depends on HAS_MCUX
1112
select PINCTRL
1213
help
1314
Enable the MCUX IGPIO driver.

drivers/pinctrl/Kconfig.imx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
config PINCTRL_IMX
55
bool "Pin controller driver for iMX MCUs"
66
depends on DT_HAS_NXP_IMX_IOMUXC_ENABLED
7-
depends on HAS_MCUX_IOMUXC || HAS_IMX_IOMUXC
87
default y
98
help
109
Enable pin controller driver for NXP iMX series MCUs

modules/hal_nxp/imx/Kconfig.imx

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,3 @@ config HAS_IMX_HAL
77
bool
88
select HAS_CMSIS_CORE
99
depends on SOC_FAMILY_NXP_IMX
10-
11-
if HAS_IMX_HAL
12-
13-
config HAS_IMX_GPIO
14-
bool
15-
help
16-
Set if the GPIO module is present in the SoC.
17-
18-
config HAS_IMX_I2C
19-
bool
20-
help
21-
Set if the I2C module is present in the SoC.
22-
23-
config HAS_IMX_EPIT
24-
bool
25-
help
26-
Set if the EPIT module is present in the SoC.
27-
28-
config HAS_IMX_IOMUXC
29-
bool
30-
help
31-
Set if the IOMUXC module is present in the SoC.
32-
33-
endif # HAS_IMX_HAL

soc/nxp/imx/imx6sx/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,3 @@ config SOC_SERIES_IMX6SX
1313

1414
config SOC_MCIMX6X_M4
1515
select HAS_IMX_HAL
16-
select HAS_IMX_GPIO
17-
select HAS_IMX_EPIT
18-
select HAS_IMX_I2C
19-
select HAS_IMX_IOMUXC

soc/nxp/imx/imx7d/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@ config SOC_SERIES_IMX7D
1212

1313
config SOC_MCIMX7D_M4
1414
select HAS_IMX_HAL
15-
select HAS_IMX_GPIO
16-
select HAS_IMX_I2C
17-
select HAS_IMX_IOMUXC

0 commit comments

Comments
 (0)