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

Simon Glass sjg at chromium.org
Fri Nov 10 05:16:13 UTC 2017


On 27 October 2017 at 22:22,  <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>
> ---
>  include/configs/odroid.h            | 4 ++--
>  include/configs/odroid_xu3.h        | 4 ++--
>  include/configs/s5p_goni.h          | 4 ++--
>  include/configs/s5pc210_universal.h | 4 ++--
>  include/configs/trats.h             | 4 ++--
>  include/configs/trats2.h            | 4 ++--
>  6 files changed, 12 insertions(+), 12 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list