]> git.baikalelectronics.ru Git - uboot.git/commit
stm32mp: stm32prog: correctly handle DM_PMIC
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 18 May 2021 13:12:09 +0000 (15:12 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 18 Jun 2021 08:09:41 +0000 (10:09 +0200)
commite4903a0a532cd563e77a17c98c3c7162871aac55
tree33cc36e8e6b58bade0f986f0abdc8855e7ec575e
parent587f0df38e1faaf1d64b056d49e34a2c59b9f8c0
stm32mp: stm32prog: correctly handle DM_PMIC

Correctly handle number of alternate when DM_PMIC is not activated.
This patch remove the last UNKNOWN partition in this case.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c