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