boot-menu.patch
commit822e10bbc8c4c9dfdd294d97ef79df753b7e61f0
authormokopatches <unknown@openmoko.org>
Fri, 11 Apr 2008 13:27:05 +0000 (11 14:27 +0100)
committerwarmcat <andy@warmcat.com>
Fri, 11 Apr 2008 13:27:05 +0000 (11 14:27 +0100)
treee48c24c009ffa5ad972e1c4dad0bcb5d58266371
parentf49fb5a87a2ead1ec378ceb867572c3265aec742
boot-menu.patch
board/neo1973/bootmenu.c: simple configurable boot menu
board/neo1973/neo1973.c (neo1973_new_second): return 1 if a new second has
  started since the last call
board/neo1973/neo1973.c (neo1973_on_key_pressed): return 1 if the $POWER key is
  pressed
board/neo1973/neo1973.c (board_late_init): make use of neo1973_new_second and
  neo1973_on_key_pressed
board/neo1973/neo1973.h: added function prototypes
u-boot/board/neo1973/neo1973.c (board_late_init): enter the boot menu when
  "AUX" was pressed at least half the time
u-boot/board/neo1973/neo1973.c (board_late_init): minor code cleanup
u-boot/common/console.c, include/console.h: added "console_poll_hook" to be
  called when waiting for console in put in "getc" and "tstc"
board/neo1973/neo1973.c (board_late_init): poll for the boot menu also on RAM
  boot, reset, or unknown cause
board/neo1973/neo1973.c (board_late_init): don't look for the power key if
  woken up by the charger
board/neo1973/neo1973.h, board/neo1973/neo1973.c, board/neo1973/bootmenu.c:
  renamed neo1973_911_key_pressed to neo1973_aux_key_pressed

- Werner Almesberger <werner@openmoko.org>
board/neo1973/common/bootmenu.c [new file with mode: 0644]
board/neo1973/common/neo1973.h
board/neo1973/gta01/Makefile
board/neo1973/gta01/gta01.c
common/Makefile
common/bootmenu.c [new file with mode: 0644]
common/console.c
include/bootmenu.h [new file with mode: 0644]
include/configs/neo1973_gta01.h
include/console.h