]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootmenu: add reprint check
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 29 Oct 2024 09:47:22 +0000 (17:47 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 4 Nov 2024 22:41:38 +0000 (16:41 -0600)
commit599652cff13ad31d23b1b8bf8905533e447435d5
treed687ea7c5b7210e1825c50ab6ca50db477ed7a2a
parentccdd7948e22f21d2add8f51c4918a2c576dc5e91
bootmenu: add reprint check

Record the last active menu item and check if it equals to the
current selected item before reprint.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Reviewed-by: Daniel Golle <daniel@makrotopia.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
cmd/bootmenu.c
include/menu.h