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:
Daniel DeGrasse 2023-10-31 14:15:43 -05:00 committed by Carles Cufí
parent 8d5322b8ff
commit 29ab2b13f6
5 changed files with 6 additions and 14 deletions

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -193,7 +193,7 @@ manifest:
groups:
- hal
- name: hal_nxp
revision: ad142f5612d927e29b1f9606e8edade871b8a526
revision: 361ccc5962dfc691f6134d73605fed063c4d26cd
path: modules/hal/nxp
groups:
- hal