]> git.baikalelectronics.ru Git - uboot.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)
commit65baba791c06215ff8b71e228754114dbce2372f
tree21af9f7518166231f9c31b6d9a0ac617f4cb8fe2
parentb97d768655aaff3106b5e042a27f6461ddd82e62
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