Add Menu Framework
commitb712b26632d4af1e1c9454a3b330ed7b401e165b
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Fri, 20 Aug 2010 08:22:47 +0000 (20 10:22 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 30 Aug 2010 18:57:20 +0000 (30 20:57 +0200)
treedecefbfa56cfc958731d7455cf0aab6605e5d5e4
parent0db2f6367712cafd91460af7816f1180fa1b5446
Add Menu Framework

Introduce a menu framework that allow us to create list menu to simplify
barebox and make it more user-frendly

This kind of menu is very usefull when you do not have a keyboard or a
serial console attached to your board to allow you to interract with
barebox

For the develloper part,
The framework introduce two API

1) C
that allow you to create menu, submenu, entry and complex menu action

2) Command
that allow you as the C API to create menu, submenu, entry and complex
menu action but this time the actions will be store in a function and
then be evaluated and excecuted at runtime.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
commands/Kconfig
commands/Makefile
commands/menu.c [new file with mode: 0644]
common/Kconfig
common/Makefile
common/menu.c [new file with mode: 0644]
include/menu.h [new file with mode: 0644]
include/readkey.h