[U-Boot] [PATCH v4] Add board_pre_console_putc to deal with early console output
Simon Glass
sjg at chromium.org
Fri Nov 25 08:35:12 CET 2011
Hi,
On Tue, Oct 18, 2011 at 4:50 PM, Graeme Russ <graeme.russ at gmail.com> wrote:
> Hi Simon,
>
> On Wed, Oct 19, 2011 at 10:43 AM, Simon Glass <sjg at chromium.org> wrote:
>> This patch adds support for console output before the console is inited.
>> The main purpose of this is to deal with a very early panic() which would
>> otherwise cause a silent hang.
>>
>> A new board_pre_console_putc() function is added to the board API. If
>> provided by the board it will be called in the event of console output
>> before the console is ready. This function should turn on all UARTs and
>> spray the character out if it possibly can.
>>
>> The feature is controlled by a new CONFIG_PRE_CONSOLE_PUTC option.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>
> Acked-by: Graeme Russ <graeme.russ at gmail.com>
>
Just going through my backlog. Any interest in merging this?
Regards,
Simon
More information about the U-Boot
mailing list