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