From 2deb737673515c6612126228fedcdeb35c1f14da Mon Sep 17 00:00:00 2001 From: Lukasz Majewski Date: Thu, 15 Jan 2015 10:07:29 +0100 Subject: [PATCH] misc: Expand "save" to "saveenv" since u-boot v2015.01 now support "save" command Signed-off-by: Lukasz Majewski --- board/samsung/common/misc.c | 2 +- include/configs/tizen.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index c63e5542c6..3f302438de 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -77,7 +77,7 @@ static int platform_write(bool save_env) return CMD_RET_FAILURE; } - if (save_env && run_command("save", 0)) { + if (save_env && run_command("saveenv", 0)) { error("Environment save failed"); return CMD_RET_FAILURE; } diff --git a/include/configs/tizen.h b/include/configs/tizen.h index 6646e035c9..5637fc19ec 100644 --- a/include/configs/tizen.h +++ b/include/configs/tizen.h @@ -137,8 +137,8 @@ "dfu_usb_con=0\0" \ "dfu_interface=mmc\0" \ "dfu_device=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \ - "consoleon=set console console=ttySAC1,115200n8; save; reset\0" \ - "consoleoff=set console console=ram; save; reset\0" \ + "consoleon=set console console=ttySAC1,115200n8; saveenv; reset\0" \ + "consoleoff=set console console=ram; saveenv; reset\0" \ "initrdname=uInitrd\0" \ "initrdaddr=42000000\0" \ "fdtaddr=40800000\0" \ -- 2.34.1