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>
#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 \