]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: stm32: Fix SoM and board coding strap GPIO handling on DHSOM
authorMarek Vasut <marex@denx.de>
Sat, 13 Nov 2021 02:26:39 +0000 (03:26 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 13 Dec 2021 13:34:04 +0000 (14:34 +0100)
commit338e26c24ef245bfffa42866dc819c0b1704f9e0
tree988a28a05832156a7252330d3bf6223a27b5ca32
parent0b14c86e3333b934a5c55bbbc564fcf8ddfc0e18
ARM: stm32: Fix SoM and board coding strap GPIO handling on DHSOM

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@denx.de>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
board/dhelectronics/dh_stm32mp1/board.c