[PATCH] ARM: stm32: Fix SoM and board coding strap GPIO handling on DHSOM

Patrick DELAUNAY patrick.delaunay at foss.st.com
Mon Nov 15 12:29:05 CET 2021


Hi Marek,

On 11/13/21 3:26 AM, Marek Vasut wrote:
> The variables retaining the strap values have to be initialized, always,
> make it so. Moreover, free the requested GPIO list at the end to avoid
> wasting memory.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
>   board/dhelectronics/dh_stm32mp1/board.c | 14 ++++++++++----
>   1 file changed, 10 insertions(+), 4 deletions(-)
>


Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick





More information about the U-Boot mailing list