configs: artik533_raptor: fix wrong consoleon/consoleoff commands 09/174809/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 4 Apr 2018 07:55:49 +0000 (16:55 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 4 Apr 2018 07:56:37 +0000 (16:56 +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: I383186758f23be422a1d1df149c144973a20b341
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
include/configs/artik533_raptor.h

index b520ec96c76b5c89cbf5e06eb1b0d73f44aec344..86d64720a7d6b6f655828cf185a4ebb617638b6f 100644 (file)
                "fi;\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        \
+       "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"                  \