arm: config: fix default console only to specify the device
authorDongjin Kim <tobetter@gmail.com>
Sat, 28 Oct 2017 04:22:27 +0000 (00:22 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 17 Nov 2017 15:54:32 +0000 (10:54 -0500)
commit232ed3ca534708527a9515c7c41bc3542949525c
tree6992ee07d1cc4952afff769e4128b42b241a7eb2
parent48c7f77128c9b1291931c481617691ff38334efc
arm: config: fix default console only to specify the device

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/configs/odroid.h
include/configs/odroid_xu3.h
include/configs/s5p_goni.h
include/configs/s5pc210_universal.h
include/configs/trats.h
include/configs/trats2.h