]> git.baikalelectronics.ru Git - uboot.git/commit
bootmenu: fix menu API error handling
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Thu, 24 Mar 2022 13:54:33 +0000 (22:54 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 23 Apr 2022 20:05:34 +0000 (22:05 +0200)
commit89481dd8d382089fa84cb3a62f056d945f4a369e
tree02c7fe5b9bad4ed1ae15d27ace8ae7a032892478
parentf91925fdae186e165948f75941a6fd02e01d280a
bootmenu: fix menu API error handling

U-Boot menu framework(common/menu.c) returns 1 if it is successful,
returns negative value if it fails.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/bootmenu.c