]> git.dujemihanovic.xyz Git - u-boot.git/commit
fastboot: mmc: extend flash/erase for both emmc hwpart 1 and 2
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 27 Jan 2021 13:46:47 +0000 (14:46 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 7 Feb 2021 18:22:55 +0000 (19:22 +0100)
commit3acbc7b2aa14fe19ee341fc91a54849185708274
tree21af9f7518166231f9c31b6d9a0ac617f4cb8fe2
parent7596696bc5c6062c52f07e2ed99e3b2eebb3a33e
fastboot: mmc: extend flash/erase for both emmc hwpart 1 and 2

Update the code and the configs for eMMC boot and userdata
partitions acces
- FASTBOOT_MMC_BOOT_SUPPORT: boot partition 1 and 2 (erase/write)
- FASTBOOT_MMC_BOOT1_NAME: boot partition 1, default name="mmc0boot0"
- FASTBOOT_MMC_BOOT2_NAME: boot partition 2, default name="mmc0boot1"

This patch also removes the unnecessary dependency with
ARCH_MEDIATEK and EFI_PARTITION.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
configs/mt8512_bm1_emmc_defconfig
configs/mt8518_ap1_emmc_defconfig
configs/pumpkin_defconfig
drivers/fastboot/Kconfig
drivers/fastboot/fb_mmc.c