[U-Boot] [PATCH 06/14] dm: serial: Support CONFIG_CONS_INDEX if available
Tom Rini
trini at ti.com
Wed Oct 22 17:59:15 CEST 2014
On Mon, Sep 22, 2014 at 09:48:46AM -0600, Simon Glass wrote:
> Try to use this option to select the correct uart for the console. This
> mimics the behaviour of drivers/serial.c.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> drivers/serial/serial-uclass.c | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c
> index aeaf2d2..522e551 100644
> --- a/drivers/serial/serial-uclass.c
> +++ b/drivers/serial/serial-uclass.c
> @@ -50,13 +50,22 @@ static void serial_find_console_or_panic(void)
> }
> #endif
> /*
> + * Try to use CONFIG_CONS_INDEX is available (it is numbered from 1!).
"if it is available" or "if available". Otherwise:
Reviewed-by: Tom Rini <trini at ti.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141022/f43bfbe5/attachment.pgp>
More information about the U-Boot
mailing list