]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commita89d8cde6ae1bb483cf5febc4e6c0da725d7bf7e
tree6992ee07d1cc4952afff769e4128b42b241a7eb2
parentd0b485f272f2881d1d6abe70c6142062d27bd8da
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