u-boot/common
Weijie Gao ccdd7948e2 menu: add support to check if menu needs to be reprinted
This patch adds a new callback named need_reprint for menu.
The need_reprint will be called before printing the menu. If the
callback exists and returns FALSE, menu printing will be canceled.

This is very useful if the menu was not changed. It can save time
for serial-based menu to handle more input data.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Reviewed-by: Daniel Golle <daniel@makrotopia.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
2024-11-04 16:41:38 -06:00
..
eeprom Merge patch series "'eeprom' command improvements" 2024-06-07 10:48:41 -06:00
init global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
spl Merge tag 'u-boot-imx-master-20241025a' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx 2024-10-25 18:51:05 -06:00
autoboot.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
avb_verify.c common: avb_verify: add str_avb_io_error/str_avb_slot_error 2024-02-15 10:38:34 +01:00
bloblist.c Merge patch series "Implement ACPI on aarch64" 2024-10-27 18:44:13 -06:00
board_f.c bootstage: Allow counting memory without strings 2024-10-25 14:22:24 -06:00
board_info.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
board_r.c board_r: Remove duplicate headers 2024-10-29 16:17:47 -06:00
bootstage.c bootstage: Do not sort records 2024-11-03 21:27:12 -06:00
bouncebuf.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
button_cmd.c include: Move snprintf to stdio.h 2024-05-22 08:55:29 -06:00
cli_getch.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cli_hush_modern.c cli: modern_hush: Add upstream commits up to 13 July 2024 2024-09-13 13:43:56 -06:00
cli_hush_upstream.c cli: modern_hush: Add upstream commits up to 13 July 2024 2024-09-13 13:43:56 -06:00
cli_hush.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
cli_readline.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
cli_simple.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cli.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
command.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
console.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
cros_ec.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cyclic.c cyclic: make cyclic_run static 2024-10-23 06:52:38 +02:00
ddr_spd.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dfu.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dlmalloc.c common: Tidy up how malloc() is inited 2024-10-25 14:22:24 -06:00
dlmalloc.src Consolidate bool type 2013-04-01 16:33:52 -04:00
edid.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
event.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
exports.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
flash.c Merge patch series "Miscellaneous fixes" 2024-09-24 13:41:21 -06:00
hash.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
hwconfig.c global_data: Remove environment members if not used 2024-08-26 14:06:08 -06:00
iomux.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
iotrace.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
kallsyms.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
Kconfig Merge patch series "Implement ACPI on aarch64" 2024-10-27 18:44:13 -06:00
kgdb_stubs.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
kgdb.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
log_console.c log: Avoid including function names by default 2024-08-23 15:58:41 -06:00
log_syslog.c log: Avoid including function names by default 2024-08-23 15:58:41 -06:00
log.c log: Add a new category for tests 2024-11-03 21:27:12 -06:00
main.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Makefile global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
malloc_simple.c global_data: Reduce size of early-malloc vars 2024-08-26 14:06:08 -06:00
mcheck_core.inc.h mcheck: let mcheck_abortfunc_t print the pointer 2024-04-12 16:23:06 -06:00
memsize.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
menu.c menu: add support to check if menu needs to be reprinted 2024-11-04 16:41:38 -06:00
miiphyutil.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
qfw.c qemu: Move qfw kernel setup into a common file 2023-02-06 13:04:53 -05:00
s_record.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
scp03.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
splash_source.c global: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD 2024-10-11 11:44:48 -06:00
splash.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stackprot.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
stdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
system_map.c
update.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
usb_hub.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
usb_kbd.c net: lwip: add DHCP support and dhcp commmand 2024-10-16 11:11:56 -06:00
usb_onboard_hub.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
usb_storage.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
usb.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
version.c version: Separate our version string from the version command 2023-11-07 14:48:19 -05:00
xyzModem.c common: Remove duplicate newlines 2024-07-15 12:12:17 -06:00