[U-Boot] arm: config: fix default console only to specify the device

Tom Rini trini at konsulko.com
Fri Nov 17 19:08:20 UTC 2017


On Sat, Oct 28, 2017 at 12:22:27AM -0400, tobetter at gmail.com wrote:

> From: Dongjin Kim <tobetter at gmail.com>
> 
> Since CONFIG_DEFAULT_CONSOLE is already started with "console=",
> the console argument in CONFIG_EXTRA_ENV_SETTINGS is expanded to
> "console=console=ttySAC1,115200n8" and this causes the wrong
> console device.
> 
>   #define CONFIG_DEFAULT_CONSOLE         "console=ttySAC1,115200n8\0"
>   ...
>   #define CONFIG_EXTRA_ENV_SETTINGS \
> 		"console=" CONFIG_DEFAULT_CONSOLE
> 
> Signed-off-by: Dongjin Kim <tobetter at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171117/48f03467/attachment.sig>


More information about the U-Boot mailing list