fastboot: mt85xx: add command to flash/erase emmc hwpart
authormingming lee <mingming.lee@mediatek.com>
Thu, 16 Jan 2020 08:11:42 +0000 (16:11 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 25 Jan 2020 17:04:36 +0000 (12:04 -0500)
commit1fdbad021fe5f3bc8f8bb5b43e55ecc56432a6b4
tree5479615481a2601b478671c2537eff681fd799ea
parentdc2426d83a57f7219ebbd01689cea4107df54f3b
fastboot: mt85xx: add command to flash/erase emmc hwpart

This patch includes the following:
1. Add fastboot command to erase the whole EMMC_USER
2. Add fastboot command to flash image at EMMC_BOOT1
3. Add fastboot command to erase the whole EMMC_BOOT1
4. Enale CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT for mt8518

Signed-off-by: mingming lee <mingming.lee@mediatek.com>
configs/mt8518_ap1_emmc_defconfig
drivers/fastboot/Kconfig
drivers/fastboot/fb_mmc.c