[PATCH] board: st: stm32mp1: Clean env_get_location()
Patrice CHOTARD
patrice.chotard at foss.st.com
Fri Jan 31 09:05:21 CET 2025
On 12/5/24 13:48, Patrick DELAUNAY wrote:
> Hi,
>
> On 11/29/24 13:48, Patrice Chotard wrote:
>> ENV_IS_IN_EXT4 flag is no more used in any STM32 defconfig,
>> remove the related code.
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
>> ---
>>
>> board/st/stm32mp1/stm32mp1.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
>> index d5e5e776d2a..15fb9e4b062 100644
>> --- a/board/st/stm32mp1/stm32mp1.c
>> +++ b/board/st/stm32mp1/stm32mp1.c
>> @@ -751,8 +751,6 @@ enum env_location env_get_location(enum env_operation op, int prio)
>> case BOOT_FLASH_EMMC:
>> if (CONFIG_IS_ENABLED(ENV_IS_IN_MMC))
>> return ENVL_MMC;
>> - else if (CONFIG_IS_ENABLED(ENV_IS_IN_EXT4))
>> - return ENVL_EXT4;
>> else
>> return ENVL_NOWHERE;
>>
>
>
>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
>
> Thanks
> Patrick
>
Applied to u-boot-stm32/master
Thanks
Patrice
More information about the U-Boot
mailing list