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]
This commit is contained in:
committed by
Marek Vasut
parent
3acbc7b2aa
commit
b2f6b97b78
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user