summaryrefslogtreecommitdiff
path: root/board/samsung/common/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/common/misc.c')
-rw-r--r--board/samsung/common/misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 95d1758..2fd104d 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -121,6 +121,7 @@ mode_name[BOOT_MODE_EXIT + 1][2] = {
{"THOR", "thor"},
{"UMS", "ums"},
{"DFU", "dfu"},
+ {"GPT", "gpt"},
{"EXIT", ""},
};
@@ -130,6 +131,7 @@ mode_info[BOOT_MODE_EXIT + 1] = {
"downloader",
"mass storage",
"firmware update",
+ "restore",
"and run normal boot"
};
@@ -139,6 +141,7 @@ mode_cmd[BOOT_MODE_EXIT + 1] = {
"thor 0 mmc 0",
"ums 0 mmc 0",
"dfu 0 mmc 0",
+ "gpt write mmc 0 $partitions",
"",
};