Fix flash and erase of eMMC Boot2 with Fastboot
authorOleh Kravchenko <oleg@kaa.org.ua>
Fri, 14 May 2021 21:06:21 +0000 (00:06 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 21 Aug 2021 22:23:02 +0000 (18:23 -0400)
commit389b6765366ae95f59b0218a1f933aaa2a2b811f
tree5d6fb24c0eedd232f66cb86de6dd58998266c2e8
parentdcf2cee77f2d185418b741c91ea981390fa6231f
Fix flash and erase of eMMC Boot2 with Fastboot

The current U-Boot version has the next matches for boot partitions:
> mmc0boot0 to EMMC_BOOT1
> mmc0boot1 to EMMC_BOOT1 (should be EMMC_BOOT2)
This patch fixes a typo for the boot partition number.

Signed-off-by: Oleh Kravchenko <oleg@kaa.org.ua>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Marek Vasut <marex@denx.de>
Reviewed-by: Sean Anderson <sean.anderson@seco.com>
drivers/fastboot/fb_mmc.c