]> git.baikalelectronics.ru Git - uboot.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)
commit7437b33a28154d1d7017c80c445577d7cc21f53f
treedb46234be425f7f86318957feac2896f8bdc19ec
parent77e262d7092032b70d8265cad5860cfc182b5f06
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