[Uboot-stm32] [PATCH] configs: stm32mp15: deactivate the CONFIG_STM32_IPCC
Patrice CHOTARD
patrice.chotard at foss.st.com
Tue Nov 30 14:33:19 CET 2021
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 at 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 at foss.st.com>
> Thanks
> Patrice
> _______________________________________________
> Uboot-stm32 mailing list
> Uboot-stm32 at st-md-mailman.stormreply.com
> https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32
>
Applied to u-boot-stm32/next
Thanks
Patrice
More information about the U-Boot
mailing list