diff options
author | Patrick Delaunay | 2021-01-27 14:46:48 +0100 |
---|---|---|
committer | Marek Vasut | 2021-02-07 19:22:55 +0100 |
commit | b2f6b97b78b47362c74f2fbe59c1f4f390cb458f (patch) | |
tree | ac80973ef77d8f4a5c1f325a03bdaaedbdce0e2f /include/fastboot.h | |
parent | 3acbc7b2aa14fe19ee341fc91a54849185708274 (diff) |
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 'include/fastboot.h')
-rw-r--r-- | include/fastboot.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fastboot.h b/include/fastboot.h index b86b508e69f..80dd8255aa2 100644 --- a/include/fastboot.h +++ b/include/fastboot.h @@ -38,6 +38,9 @@ enum { #if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_FORMAT) FASTBOOT_COMMAND_OEM_FORMAT, #endif +#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_PARTCONF) + FASTBOOT_COMMAND_OEM_PARTCONF, +#endif FASTBOOT_COMMAND_COUNT }; |