]> git.baikalelectronics.ru Git - uboot.git/commit
stm32mp: fix board_get_alt_info_mmc()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 11 Jan 2022 14:58:08 +0000 (15:58 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 24 Jan 2022 09:59:28 +0000 (10:59 +0100)
commitc156c4d9305cad92851060645e07c7f1526f327f
treee58d374f14d519e5e1f206c455c9a0dff422b703
parentf52554cf8c5bf58b78a8463ec3fcc3bb73501272
stm32mp: fix board_get_alt_info_mmc()

MAX_SEARCH_PARTITIONS is the highest possible partition number.
Do not skip the last partition in board_get_alt_info_mmc().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
board/st/common/stm32mp_dfu.c