drivers: ipm: Remove CONFIG_IPM_IMX_REV2
Remove CONFIG_IPM_IMX_REV2, as this Kconfig is no longer needed. The driver can now be enabled with CONFIG_IPM_IMX. Update NXP HAL to remove this Kconfig as well. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
8d5322b8ff
commit
29ab2b13f6
|
@ -6,7 +6,6 @@ zephyr_library()
|
|||
|
||||
zephyr_library_sources_ifdef(CONFIG_IPM_MCUX ipm_mcux.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_IPM_IMX ipm_imx.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_IPM_IMX_REV2 ipm_imx.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_IPM_MHU ipm_mhu.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_IPM_STM32_IPCC ipm_stm32_ipcc.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_IPM_NRFX ipm_nrfx_ipc.c)
|
||||
|
|
|
@ -15,17 +15,11 @@ config IPM_IMX
|
|||
help
|
||||
Driver for NXP i.MX messaging unit
|
||||
|
||||
config IPM_IMX_REV2
|
||||
bool "IMX IPM driver (rev 2)"
|
||||
default y
|
||||
depends on DT_HAS_NXP_IMX_MU_REV2_ENABLED
|
||||
help
|
||||
Rev 2 driver for NXP i.MX messaging unit (MCUX-based)
|
||||
if IPM_IMX
|
||||
|
||||
choice
|
||||
prompt "IMX IPM max data size"
|
||||
default IPM_IMX_MAX_DATA_SIZE_16
|
||||
depends on IPM_IMX || IPM_IMX_REV2
|
||||
help
|
||||
Select maximum message size for NXP i.MX messaging unit.
|
||||
|
||||
|
@ -55,7 +49,6 @@ config IPM_IMX_MAX_DATA_SIZE
|
|||
default 4 if IPM_IMX_MAX_DATA_SIZE_4
|
||||
default 8 if IPM_IMX_MAX_DATA_SIZE_8
|
||||
default 16 if IPM_IMX_MAX_DATA_SIZE_16
|
||||
depends on IPM_IMX || IPM_IMX_REV2
|
||||
|
||||
config IPM_IMX_MAX_ID_VAL
|
||||
int
|
||||
|
@ -63,10 +56,10 @@ config IPM_IMX_MAX_ID_VAL
|
|||
default 3 if IPM_IMX_MAX_DATA_SIZE_4
|
||||
default 1 if IPM_IMX_MAX_DATA_SIZE_8
|
||||
default 0 if IPM_IMX_MAX_DATA_SIZE_16
|
||||
depends on IPM_IMX || IPM_IMX_REV2
|
||||
|
||||
config IPM_IMX_FW_READY_REPLY
|
||||
bool "Send FW_READY reply message"
|
||||
depends on IPM_IMX || IPM_IMX_REV2
|
||||
help
|
||||
Send FW_READY reply to check for FW boot completion
|
||||
|
||||
endif # IPM_IMX
|
||||
|
|
|
@ -16,7 +16,7 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|||
config GPIO
|
||||
default y
|
||||
|
||||
config IPM_IMX_REV2
|
||||
config IPM_IMX
|
||||
default y
|
||||
depends on IPM
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|||
int
|
||||
default 400000000
|
||||
|
||||
config IPM_IMX_REV2
|
||||
config IPM_IMX
|
||||
default y
|
||||
depends on IPM
|
||||
|
||||
|
|
Loading…
Reference in a new issue