This patch set adds support for calling panic() before stdio is initialized.
At present this will just hang with little or no indication of what the
problem is.

A new board_panic_no_console() function is added to the board API. If provided
by the board it will be called in the event of a panic before the console is
ready. This function should turn on all UARTS and spray the message out if
it possibly can.

This is somewhat related to the Graeme's pre-console buffer patch, which is
why I am sending it for comment now.


Simon Glass (2):
  Add board_panic_no_console to deal with early critical errors
  Add check that console is ready before output

 common/console.c |    4 ++--
 include/common.h |    8 ++++++++
 lib/vsprintf.c   |   26 ++++++++++++++++++++++++--
 3 files changed, 34 insertions(+), 4 deletions(-)

-- 
1.7.3.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to