diff options
author | Patrick Delaunay | 2021-01-27 14:46:49 +0100 |
---|---|---|
committer | Marek Vasut | 2021-02-07 19:22:55 +0100 |
commit | 0c0394b5026ed3271c92ab1c92a65ae67588d65d (patch) | |
tree | bddbbbfd276a3ffc0ec38f75c946169fa74bf93b /include/fastboot.h | |
parent | b2f6b97b78b47362c74f2fbe59c1f4f390cb458f (diff) |
fastboot: add command to select the eMMC boot configuration
Add command oem bootbus which executes the command
``mmc bootbus <id> <arg>`` on the current fastboot mmc device
(<i> = CONFIG_FASTBOOT_FLASH_MMC_DEV) to set the eMMC boot
configuration on first update, with
<arg> = boot_bus_width reset_boot_bus_width boot_mode
$> fastboot oem bootbus:<boot_bus_width> <reset_boot_bus_width> <boot_mode>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
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 80dd8255aa2..797d7dfd529 100644 --- a/include/fastboot.h +++ b/include/fastboot.h @@ -41,6 +41,9 @@ enum { #if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_PARTCONF) FASTBOOT_COMMAND_OEM_PARTCONF, #endif +#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_BOOTBUS) + FASTBOOT_COMMAND_OEM_BOOTBUS, +#endif FASTBOOT_COMMAND_COUNT }; |