[U-Boot] [PATCH v2 2/5] debug_uart: Support board-specific UART initialisation

Simon Glass sjg at chromium.org
Thu Oct 22 01:19:58 CEST 2015


On 18 October 2015 at 21:17, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Mon, Oct 19, 2015 at 9:51 AM, Simon Glass <sjg at chromium.org> wrote:
>> Some boards need to set things up before the debug UART can be used. On
>> these boards a call to debug_uart_init() is insufficient. When this option
>> is enabled, the function board_debug_uart_init() will be called when
>> debug_uart_init() is called. You can put any code here that is needed to
>> set up the UART ready for use, such as set pin multiplexing or enable
>> clocks.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v2: None
>>
>>  drivers/serial/Kconfig | 11 +++++++++++
>>  include/debug_uart.h   | 14 ++++++++++++++
>>  2 files changed, 25 insertions(+)
>>
[snip]

> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot-x86.


More information about the U-Boot mailing list