]> 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>
Tue, 30 Nov 2021 15:43:28 +0000 (16:43 +0100)
commit2a0266b960400e5ef0b39a631a1828cd6878e677
treef10c259940f9f2b3d9c2e65fd6eab56aa815607b
parent41a763a920ff4154d207f139a265829464151357
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