configs: artik710_raptor: fix wrong consoleon/consoleoff commands
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 20 Oct 2017 11:23:17 +0000 (20:23 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 26 Mar 2018 02:31:18 +0000 (11:31 +0900)
From env, consoleon and consoneoff commands are defined with "='
when using setenv, so those commands can not be run. Fix wrong
consoleon and consoleoff commands by using proper setenv command.

Change-Id: Ib43be038998cefdb37813d6f375d31ad1ace2f8d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
include/configs/artik710_raptor.h

index 9889133d863bb40ed5bca997ed7e21fb2d7d3908..80decbd44aca465c9e1e199b022026fb9912834a 100644 (file)
                "fi; setenv success; setenv number; setenv loop;\0"     \
        "bootdelay=" __stringify(CONFIG_BOOTDELAY) "\0"                 \
        "console=" CONFIG_DEFAULT_CONSOLE                               \
-       "consoleon=setenv console=" CONFIG_DEFAULT_CONSOLE              \
-               "; saveenv; reset\0"                                    \
-       "consoleoff=setenv console=ram; saveenv; reset\0"               \
+       "console_default=setenv console " CONFIG_DEFAULT_CONSOLE "\0"   \
+       "consoleon=run console_default; saveenv; reset\0"               \
+       "consoleoff=setenv console ram; saveenv; reset\0"               \
        "rootdev=" __stringify(CONFIG_ROOT_DEV) "\0"                    \
        "rootpart=" __stringify(CONFIG_ROOT_PART) "\0"                  \
        "bootpart=" __stringify(CONFIG_BOOT_PART) "\0"                  \