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)
commit990f6636eae1718b785a39c300f466fd41985c55
tree02c7fe5b9bad4ed1ae15d27ace8ae7a032892478
parent3fb6fa7a716309566e5e8a447e06411125e3308a
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