Fix flashing of eMMC user area with Fastboot
authorOleh Kravchenko <oleg@kaa.org.ua>
Wed, 19 May 2021 10:31:31 +0000 (13:31 +0300)
committerTom Rini <trini@konsulko.com>
Sat, 21 Aug 2021 22:23:02 +0000 (18:23 -0400)
commit55a202f64b1537f1cdbd0486cde10a5b6d4eef3c
tree9231b3e1f8a8781145715a2a35f48853c8656e0d
parent389b6765366ae95f59b0218a1f933aaa2a2b811f
Fix flashing of eMMC user area with Fastboot

'gpt' and 'mmc0' fastboot partitions have been treated as the same device,
but it is wrong.

Fill disk_partition structure with eMMC user partition info
to properly flash data.

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