]> git.dujemihanovic.xyz Git - u-boot.git/commit
menu: Update bootmenu_autoboot_loop() to return the code
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 14:52:23 +0000 (08:52 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 16 Jan 2023 19:14:11 +0000 (14:14 -0500)
commit5712976b26f7865f348aba51c9fa367c456e1795
treedb46234be425f7f86318957feac2896f8bdc19ec
parent2da4a15e7e947d2d304ec1ba392556c3e0393e13
menu: Update bootmenu_autoboot_loop() to return the code

Use the return value to save having to pass around a pointer. This also
resolves any ambiguity about what *key contains when the function is
called.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/bootmenu.c
common/menu.c
include/menu.h