]> git.dujemihanovic.xyz Git - u-boot.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)
commit7c870f8d70f633003ced94bacfda22df9a6a810f
tree988a28a05832156a7252330d3bf6223a27b5ca32
parente1d7b0b9c55a105ec8b9d8bcb24d68fc7b74789a
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