summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-01-27 14:46:48 +0100
committerMarek Vasut <marex@denx.de>2021-02-07 19:22:55 +0100
commitb2f6b97b78b47362c74f2fbe59c1f4f390cb458f (patch)
treeac80973ef77d8f4a5c1f325a03bdaaedbdce0e2f /doc
parent3acbc7b2aa14fe19ee341fc91a54849185708274 (diff)
downloadu-boot-b2f6b97b78b47362c74f2fbe59c1f4f390cb458f.tar.gz
fastboot: add command to select the default emmc hwpart for boot
Add fastboot command oem partconf which executes the command ``mmc partconf <id> <arg> 0`` on the current <id> mmc device to configure the eMMC boot partition with <arg>: boot_ack boot_partition, so the command is: $> fastboot oem partconf:<boot_ack> <boot_partition> The partition_access argument is forced to 0 (userdata) Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> [lukma - Kconfig adjustments after merging this patch]
Diffstat (limited to 'doc')
-rw-r--r--doc/android/fastboot.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/android/fastboot.rst b/doc/android/fastboot.rst
index 2877c3cbaa..d8cb64261c 100644
--- a/doc/android/fastboot.rst
+++ b/doc/android/fastboot.rst
@@ -23,6 +23,8 @@ The current implementation supports the following standard commands:
The following OEM commands are supported (if enabled):
- ``oem format`` - this executes ``gpt write mmc %x $partitions``
+- ``oem partconf`` - this executes ``mmc partconf %x <arg> 0`` to configure eMMC
+ with <arg> = boot_ack boot_partition
Support for both eMMC and NAND devices is included.