diff options
author | Inha Song <ideal.song@samsung.com> | 2014-04-30 13:28:08 +0200 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-05-07 19:40:39 +0900 |
commit | 0954dd61baebcd2de627803ed8e00cc70d9e8b0c (patch) | |
tree | 483e32e674caf6d02aa6535e37c890ef73522058 /board | |
parent | 5c7b8a379fbd9b069c95332204c359f61a7f1594 (diff) | |
download | u-boot-imx-0954dd61baebcd2de627803ed8e00cc70d9e8b0c.zip u-boot-imx-0954dd61baebcd2de627803ed8e00cc70d9e8b0c.tar.gz u-boot-imx-0954dd61baebcd2de627803ed8e00cc70d9e8b0c.tar.bz2 |
samsung: misc: add env default option to lcd menu
This change allows reset device environment to default without using u-boot
console, which is useful for system developers.
Signed-off-by: Inha Song <ideal.song@samsung.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/samsung/common/misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index 2fd104d..65b5c30 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -122,6 +122,7 @@ mode_name[BOOT_MODE_EXIT + 1][2] = { {"UMS", "ums"}, {"DFU", "dfu"}, {"GPT", "gpt"}, + {"ENV", "env"}, {"EXIT", ""}, }; @@ -132,6 +133,7 @@ mode_info[BOOT_MODE_EXIT + 1] = { "mass storage", "firmware update", "restore", + "default", "and run normal boot" }; @@ -142,6 +144,7 @@ mode_cmd[BOOT_MODE_EXIT + 1] = { "ums 0 mmc 0", "dfu 0 mmc 0", "gpt write mmc 0 $partitions", + "env default -a; saveenv", "", }; |