[PATCH v3 2/4] ARM: stm32: Factor out save_boot_params

Marek Vasut marex at denx.de
Fri Jan 13 13:59:37 CET 2023


On 1/13/23 13:55, Patrice CHOTARD wrote:
> Hi Marek

Hello Patrice,

> On 1/12/23 18:55, Marek Vasut wrote:
>> On 1/12/23 16:06, Patrice CHOTARD wrote:
>>> Hi Marek
>>
>> Hi,
>>
>>> I am preparing the next STM32 U-Boot pull request, during testing, buidlman is complaining with the following warning:
>>>
>>> 03: ARM: stm32: Factor out save_boot_params
>>>          arm:  +   stm32mp13
>>> +../arch/arm/mach-stm32mp/boot_params.c: In function 'board_fdt_blob_setup':
>>> +../arch/arm/mach-stm32mp/boot_params.c:20:35: error: implicit declaration of function 'get_stm32mp_bl2_dtb' [-Werror=implicit-function-declaration]
>>> +   20 |         unsigned long nt_fw_dtb = get_stm32mp_bl2_dtb();
>>> +      |                                   ^~~~~~~~~~~~~~~~~~~
>>> +cc1: all warnings being treated as errors
>>>
>>>
>>> Same issue with stm32mp15_defconfig and stm32mp15_trusted_defconfig.
>>
>> Sorry for the inconvenience.
>>
>> Does the change below help ?
>> If so, can you squash it into 2/4 or do you want v4 ?
> 
> Yes the change you proposed is OK.
> I saw that you have submitted a v4 including this fix, i will add it to the next U-Boot STM32 PR.

Thanks !

> Thanks for your reactivity ;-)

:)


More information about the U-Boot mailing list