]> git.dujemihanovic.xyz Git - u-boot.git/commit
fastboot: add command to select the default emmc hwpart for boot
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 27 Jan 2021 13:46:48 +0000 (14:46 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 7 Feb 2021 18:22:55 +0000 (19:22 +0100)
commitb2f6b97b78b47362c74f2fbe59c1f4f390cb458f
treeac80973ef77d8f4a5c1f325a03bdaaedbdce0e2f
parent3acbc7b2aa14fe19ee341fc91a54849185708274
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]
doc/android/fastboot.rst
drivers/fastboot/Kconfig
drivers/fastboot/fb_command.c
include/fastboot.h