UPSTREAM: mmc-utils: Add disable partition boot to 'mmc bootpart enable'
Modified 'bootpart enable' function to disable partition boot
by setting the <partition> parameter to 0.
BUG=None
TEST=Compile
Signed-off-by: Markus Schuetterle <markus.schuetterle@intel.com>
Signed-off-by: Chris Ball <chris@printf.net>
(cherry picked from commit bb779acfc385d135b32a6998c1d1fceef0491400)
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I9c720f2bfa79db36cd0f4d6d921bce08c1668d84
Reviewed-on: https://chromium-review.googlesource.com/1114438
Commit-Ready: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
diff --git a/mmc.c b/mmc.c
index bd43320..f914629 100644
--- a/mmc.c
+++ b/mmc.c
@@ -100,7 +100,7 @@
},
{ do_write_boot_en, -3,
"bootpart enable", "<boot_partition> " "<send_ack> " "<device>\n"
- "Enable the boot partition for the <device>.\nTo receive acknowledgment of boot from the card set <send_ack>\nto 1, else set it to 0.",
+ "Enable the boot partition for the <device>.\nDisable the boot partition for the <device> if <boot_partition> is set to 0.\nTo receive acknowledgment of boot from the card set <send_ack>\nto 1, else set it to 0.",
NULL
},
{ do_boot_bus_conditions_set, -4,