configs: artik_common: fix wrong consoleon/consoleoff commands 41/148141/2 accepted/tizen/4.0/unified/20170907.200103 accepted/tizen/unified/20170907.060333 submit/tizen/20170907.025203 submit/tizen_4.0/20170907.025159
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 7 Sep 2017 02:07:30 +0000 (11:07 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 7 Sep 2017 02:45:09 +0000 (11:45 +0900)
The CONFIG_CMD_SETEXPR option is not set, so set command is same
with setenv command but consoleon and consoneoff commands are
defined with "=', so it can not be run. Fix wrong consoleon and
console off commands by using setenv command explictly.

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

index 9df513c243b304eb40a319a05569399febcb2f9b..4c9103b0c032f86e696b8ae37167fb9d2dccf355 100755 (executable)
 
 #define CONFIG_EXTRA_ENV_SETTINGS                                      \
        "console=" CONFIG_DEFAULT_CONSOLE                               \
-       "consoleon=set console=" CONFIG_DEFAULT_CONSOLE                 \
+       "consoleon=setenv console " CONFIG_DEFAULT_CONSOLE              \
                "; saveenv; reset\0"                                    \
-       "consoleoff=set console=ram; saveenv; reset\0"                  \
+       "consoleoff=setenv console console=ram; saveenv; reset\0"       \
        "rootfslen=" __stringify(CONFIG_ROOTFS_LEN) "\0"                \
        "partitions=" PARTS_DEFAULT                                     \
        "partitions_android=" PARTS_ANDROID                             \