
This patch series adds ANSI terminal Bootmenu command. It use generic menu code for creating menu structures, but use own functions for drawing menu on ANSI terminal. First patch modify generic menu code for using other functions for printing and choosing menu entry, second patch is bootmenu command itself. Third and fourth patches are new in v2. Third adding new command clear which clear ANSI terminal and fourth adding bootmenu support to Nokia RX-51 board.
Pali Rohár (4): menu: Added support to use user defined functions New command bootmenu: ANSI terminal Boot Menu support New command clear: Clear the ANSI terminal RX-51: Add support for bootmenu
board/ait/cam_enc_4xx/cam_enc_4xx.c | 5 +- common/Makefile | 2 + common/cmd_bootmenu.c | 471 +++++++++++++++++++++++++++++++++++ common/cmd_clear.c | 43 ++++ common/cmd_pxe.c | 3 +- common/menu.c | 43 ++-- doc/README.bootmenu | 61 +++++ include/ansi.h | 42 ++++ include/configs/nokia_rx51.h | 25 +- include/menu.h | 6 +- 10 files changed, 678 insertions(+), 23 deletions(-) create mode 100644 common/cmd_bootmenu.c create mode 100644 common/cmd_clear.c create mode 100644 doc/README.bootmenu create mode 100644 include/ansi.h