diff mbox series

configs: stm32mp15: deactivate the CONFIG_STM32_IPCC

Message ID 20211119100728.1.I8482c13fb850207cc6b028072073f7f84ce1488c@changeid
State Accepted
Commit e84ee40b0b2d378aab66e45315ff835954b2078f
Delegated to: Patrice Chotard
Headers show
Series configs: stm32mp15: deactivate the CONFIG_STM32_IPCC | expand

Commit Message

Patrick DELAUNAY Nov. 19, 2021, 9:07 a.m. UTC
The IPCC mailbox is only used for communication with M4 firmware but
it is not used in the stm32 remoteproc driver; it was planed but the
support of this mailbox in remoteproc for STM32MP15x is dropped.

So the associated drivers and config CONFIG_STM32_IPCC can be
deactivated to reduce the U-Boot size; the CONFIG_DM_MAILBOX can be
also deactivated as the mailbox UCLASS is no more used.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

 configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig          | 2 --
 configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig         | 2 --
 configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig | 2 --
 configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig     | 2 --
 configs/stm32mp15_basic_defconfig                           | 2 --
 configs/stm32mp15_defconfig                                 | 2 --
 configs/stm32mp15_dhcom_basic_defconfig                     | 2 --
 configs/stm32mp15_dhcor_basic_defconfig                     | 2 --
 configs/stm32mp15_trusted_defconfig                         | 2 --
 9 files changed, 18 deletions(-)

Comments

Patrice CHOTARD Nov. 22, 2021, 7:27 a.m. UTC | #1
HI Patrick

On 11/19/21 10:07 AM, Patrick Delaunay wrote:
> The IPCC mailbox is only used for communication with M4 firmware but
> it is not used in the stm32 remoteproc driver; it was planed but the
> support of this mailbox in remoteproc for STM32MP15x is dropped.
> 
> So the associated drivers and config CONFIG_STM32_IPCC can be
> deactivated to reduce the U-Boot size; the CONFIG_DM_MAILBOX can be
> also deactivated as the mailbox UCLASS is no more used.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> 
>  configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig          | 2 --
>  configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig         | 2 --
>  configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig | 2 --
>  configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig     | 2 --
>  configs/stm32mp15_basic_defconfig                           | 2 --
>  configs/stm32mp15_defconfig                                 | 2 --
>  configs/stm32mp15_dhcom_basic_defconfig                     | 2 --
>  configs/stm32mp15_dhcor_basic_defconfig                     | 2 --
>  configs/stm32mp15_trusted_defconfig                         | 2 --
>  9 files changed, 18 deletions(-)
> 
> diff --git a/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig b/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
> index adb8f10b17..11a2885a5c 100644
> --- a/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
> +++ b/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
> @@ -51,8 +51,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_STM32_FMC2_EBI=y
>  CONFIG_SUPPORT_EMMC_BOOT=y
>  CONFIG_STM32_SDMMC2=y
> diff --git a/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig b/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
> index dca35db014..7973e0f46f 100644
> --- a/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
> +++ b/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
> @@ -51,8 +51,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_STM32_FMC2_EBI=y
>  CONFIG_SUPPORT_EMMC_BOOT=y
>  CONFIG_STM32_SDMMC2=y
> diff --git a/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig b/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
> index aa6a28e6a7..5eadd63100 100644
> --- a/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
> +++ b/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
> @@ -51,8 +51,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_STM32_FMC2_EBI=y
>  CONFIG_SUPPORT_EMMC_BOOT=y
>  CONFIG_STM32_SDMMC2=y
> diff --git a/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig b/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
> index 9abd1a100c..1dde46a0ce 100644
> --- a/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
> +++ b/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
> @@ -51,8 +51,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_STM32_FMC2_EBI=y
>  CONFIG_SUPPORT_EMMC_BOOT=y
>  CONFIG_STM32_SDMMC2=y
> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
> index 2cc26d4066..055336c266 100644
> --- a/configs/stm32mp15_basic_defconfig
> +++ b/configs/stm32mp15_basic_defconfig
> @@ -102,8 +102,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_STM32_FMC2_EBI=y
>  CONFIG_SUPPORT_EMMC_BOOT=y
>  CONFIG_STM32_SDMMC2=y
> diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig
> index 4c6a52fc54..d5bb4b27c2 100644
> --- a/configs/stm32mp15_defconfig
> +++ b/configs/stm32mp15_defconfig
> @@ -84,8 +84,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_STM32_FMC2_EBI=y
>  CONFIG_SUPPORT_EMMC_BOOT=y
>  CONFIG_STM32_SDMMC2=y
> diff --git a/configs/stm32mp15_dhcom_basic_defconfig b/configs/stm32mp15_dhcom_basic_defconfig
> index 84375589c5..8fbcef2699 100644
> --- a/configs/stm32mp15_dhcom_basic_defconfig
> +++ b/configs/stm32mp15_dhcom_basic_defconfig
> @@ -96,8 +96,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_I2C_EEPROM=y
>  CONFIG_SYS_I2C_EEPROM_ADDR=0x50
>  CONFIG_SUPPORT_EMMC_BOOT=y
> diff --git a/configs/stm32mp15_dhcor_basic_defconfig b/configs/stm32mp15_dhcor_basic_defconfig
> index aa000effc4..c551a4c411 100644
> --- a/configs/stm32mp15_dhcor_basic_defconfig
> +++ b/configs/stm32mp15_dhcor_basic_defconfig
> @@ -92,8 +92,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_I2C_EEPROM=y
>  CONFIG_SYS_I2C_EEPROM_ADDR=0x53
>  CONFIG_SUPPORT_EMMC_BOOT=y
> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
> index feca26e973..c0ac1ef319 100644
> --- a/configs/stm32mp15_trusted_defconfig
> +++ b/configs/stm32mp15_trusted_defconfig
> @@ -85,8 +85,6 @@ CONFIG_DM_I2C=y
>  CONFIG_SYS_I2C_STM32F7=y
>  CONFIG_LED=y
>  CONFIG_LED_GPIO=y
> -CONFIG_DM_MAILBOX=y
> -CONFIG_STM32_IPCC=y
>  CONFIG_STM32_FMC2_EBI=y
>  CONFIG_SUPPORT_EMMC_BOOT=y
>  CONFIG_STM32_SDMMC2=y
> 

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Thanks
Patrice
Patrice CHOTARD Nov. 30, 2021, 1:33 p.m. UTC | #2
Hi Patrick

On 11/22/21 8:27 AM, Patrice CHOTARD wrote:
> HI Patrick
> 
> On 11/19/21 10:07 AM, Patrick Delaunay wrote:
>> The IPCC mailbox is only used for communication with M4 firmware but
>> it is not used in the stm32 remoteproc driver; it was planed but the
>> support of this mailbox in remoteproc for STM32MP15x is dropped.
>>
>> So the associated drivers and config CONFIG_STM32_IPCC can be
>> deactivated to reduce the U-Boot size; the CONFIG_DM_MAILBOX can be
>> also deactivated as the mailbox UCLASS is no more used.
>>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> ---
>>
>>  configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig          | 2 --
>>  configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig         | 2 --
>>  configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig | 2 --
>>  configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig     | 2 --
>>  configs/stm32mp15_basic_defconfig                           | 2 --
>>  configs/stm32mp15_defconfig                                 | 2 --
>>  configs/stm32mp15_dhcom_basic_defconfig                     | 2 --
>>  configs/stm32mp15_dhcor_basic_defconfig                     | 2 --
>>  configs/stm32mp15_trusted_defconfig                         | 2 --
>>  9 files changed, 18 deletions(-)
>>
>> diff --git a/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig b/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
>> index adb8f10b17..11a2885a5c 100644
>> --- a/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
>> +++ b/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
>> @@ -51,8 +51,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_STM32_FMC2_EBI=y
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>>  CONFIG_STM32_SDMMC2=y
>> diff --git a/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig b/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
>> index dca35db014..7973e0f46f 100644
>> --- a/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
>> +++ b/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
>> @@ -51,8 +51,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_STM32_FMC2_EBI=y
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>>  CONFIG_STM32_SDMMC2=y
>> diff --git a/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig b/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
>> index aa6a28e6a7..5eadd63100 100644
>> --- a/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
>> +++ b/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
>> @@ -51,8 +51,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_STM32_FMC2_EBI=y
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>>  CONFIG_STM32_SDMMC2=y
>> diff --git a/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig b/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
>> index 9abd1a100c..1dde46a0ce 100644
>> --- a/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
>> +++ b/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
>> @@ -51,8 +51,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_STM32_FMC2_EBI=y
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>>  CONFIG_STM32_SDMMC2=y
>> diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
>> index 2cc26d4066..055336c266 100644
>> --- a/configs/stm32mp15_basic_defconfig
>> +++ b/configs/stm32mp15_basic_defconfig
>> @@ -102,8 +102,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_STM32_FMC2_EBI=y
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>>  CONFIG_STM32_SDMMC2=y
>> diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig
>> index 4c6a52fc54..d5bb4b27c2 100644
>> --- a/configs/stm32mp15_defconfig
>> +++ b/configs/stm32mp15_defconfig
>> @@ -84,8 +84,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_STM32_FMC2_EBI=y
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>>  CONFIG_STM32_SDMMC2=y
>> diff --git a/configs/stm32mp15_dhcom_basic_defconfig b/configs/stm32mp15_dhcom_basic_defconfig
>> index 84375589c5..8fbcef2699 100644
>> --- a/configs/stm32mp15_dhcom_basic_defconfig
>> +++ b/configs/stm32mp15_dhcom_basic_defconfig
>> @@ -96,8 +96,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_I2C_EEPROM=y
>>  CONFIG_SYS_I2C_EEPROM_ADDR=0x50
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>> diff --git a/configs/stm32mp15_dhcor_basic_defconfig b/configs/stm32mp15_dhcor_basic_defconfig
>> index aa000effc4..c551a4c411 100644
>> --- a/configs/stm32mp15_dhcor_basic_defconfig
>> +++ b/configs/stm32mp15_dhcor_basic_defconfig
>> @@ -92,8 +92,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_I2C_EEPROM=y
>>  CONFIG_SYS_I2C_EEPROM_ADDR=0x53
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>> diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
>> index feca26e973..c0ac1ef319 100644
>> --- a/configs/stm32mp15_trusted_defconfig
>> +++ b/configs/stm32mp15_trusted_defconfig
>> @@ -85,8 +85,6 @@ CONFIG_DM_I2C=y
>>  CONFIG_SYS_I2C_STM32F7=y
>>  CONFIG_LED=y
>>  CONFIG_LED_GPIO=y
>> -CONFIG_DM_MAILBOX=y
>> -CONFIG_STM32_IPCC=y
>>  CONFIG_STM32_FMC2_EBI=y
>>  CONFIG_SUPPORT_EMMC_BOOT=y
>>  CONFIG_STM32_SDMMC2=y
>>
> 
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
> Thanks
> Patrice
> _______________________________________________
> Uboot-stm32 mailing list
> Uboot-stm32@st-md-mailman.stormreply.com
> https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32
> 

Applied to u-boot-stm32/next
Thanks
Patrice
diff mbox series

Patch

diff --git a/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig b/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
index adb8f10b17..11a2885a5c 100644
--- a/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
+++ b/configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
@@ -51,8 +51,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_STM32_FMC2_EBI=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
diff --git a/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig b/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
index dca35db014..7973e0f46f 100644
--- a/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
+++ b/configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
@@ -51,8 +51,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_STM32_FMC2_EBI=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
diff --git a/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig b/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
index aa6a28e6a7..5eadd63100 100644
--- a/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
+++ b/configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
@@ -51,8 +51,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_STM32_FMC2_EBI=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
diff --git a/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig b/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
index 9abd1a100c..1dde46a0ce 100644
--- a/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
+++ b/configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
@@ -51,8 +51,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_STM32_FMC2_EBI=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig
index 2cc26d4066..055336c266 100644
--- a/configs/stm32mp15_basic_defconfig
+++ b/configs/stm32mp15_basic_defconfig
@@ -102,8 +102,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_STM32_FMC2_EBI=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig
index 4c6a52fc54..d5bb4b27c2 100644
--- a/configs/stm32mp15_defconfig
+++ b/configs/stm32mp15_defconfig
@@ -84,8 +84,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_STM32_FMC2_EBI=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y
diff --git a/configs/stm32mp15_dhcom_basic_defconfig b/configs/stm32mp15_dhcom_basic_defconfig
index 84375589c5..8fbcef2699 100644
--- a/configs/stm32mp15_dhcom_basic_defconfig
+++ b/configs/stm32mp15_dhcom_basic_defconfig
@@ -96,8 +96,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_I2C_EEPROM=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 CONFIG_SUPPORT_EMMC_BOOT=y
diff --git a/configs/stm32mp15_dhcor_basic_defconfig b/configs/stm32mp15_dhcor_basic_defconfig
index aa000effc4..c551a4c411 100644
--- a/configs/stm32mp15_dhcor_basic_defconfig
+++ b/configs/stm32mp15_dhcor_basic_defconfig
@@ -92,8 +92,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_I2C_EEPROM=y
 CONFIG_SYS_I2C_EEPROM_ADDR=0x53
 CONFIG_SUPPORT_EMMC_BOOT=y
diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig
index feca26e973..c0ac1ef319 100644
--- a/configs/stm32mp15_trusted_defconfig
+++ b/configs/stm32mp15_trusted_defconfig
@@ -85,8 +85,6 @@  CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_STM32F7=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-CONFIG_DM_MAILBOX=y
-CONFIG_STM32_IPCC=y
 CONFIG_STM32_FMC2_EBI=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_STM32_SDMMC2=y