]> git.dujemihanovic.xyz Git - u-boot.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)
commit6ddc71c13e1b78560d3869bc394144e91972e44f
treee58d374f14d519e5e1f206c455c9a0dff422b703
parent332facce6f5669fc1bb8d150c08cee2ebdae6d2b
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