]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: st: common: Fix board_get_alt_info_mtd()
authorPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 17 Nov 2023 17:01:06 +0000 (18:01 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 15 Dec 2023 14:41:23 +0000 (15:41 +0100)
commitb40f67a63586607ce2704ae5800790d35980f39d
tree2641e7e6d84f4e2010825cad6e4525483e400566
parent29e3b2430b13175fb36b9ebbb11434c93dae8ff0
board: st: common: Fix board_get_alt_info_mtd()

Since MTD devices are partioned, we got the following
error when command "dfu 0" is executed:

DFU alt info setting: done
ERROR: Too many arguments for nor0
ERROR: DFU entities configuration failed!
ERROR: (partition table does not match dfu_alt_info?)

Fixes: 31325e1b8b9c ("stm32mp1: dynamically build DFU_ALT_INFO")
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
board/st/common/stm32mp_dfu.c