[PATCH RFT v6 3/3] fastboot: integrate block flashing back-end
Mattijs Korpershoek
mkorpershoek at kernel.org
Wed Jul 2 15:50:33 CEST 2025
On Mon, Jun 30, 2025 at 17:19, Neil Armstrong <neil.armstrong at linaro.org> wrote:
> From: Dmitrii Merkurev <dimorinny at google.com>
>
> 1. Get partition info/size
> 2. Erase partition
> 3. Flash partition
> 4. BCB
>
> Make FASTBOOT_FLASH also depend on BLK, but make sure
> it doesn't affect SUNXI and ROCKCHIP platforms since they
> default to y already.
>
> Make it only default on SUNXI when MMC or NAND is enabled,
> so it doesn't break the CHIP & Ninendo boards, and for ROCKCHIP
s/Ninendo/Nintendo/ ?
I can fix when applying if needed.
Mattijs
> when MMC is enabled.
>
> Signed-off-by: Dmitrii Merkurev <dimorinny at google.com>
> Reviewed-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
> Tested-by: Mattijs Korpershoek <mkorpershoek at kernel.org>
> Signed-off-by: Neil Armstrong <neil.armstrong at linaro.org>
> ---
> drivers/fastboot/Kconfig | 32 ++++++++++++++++++++++++++++++--
> drivers/fastboot/Makefile | 1 +
> drivers/fastboot/fb_command.c | 8 ++++++++
> drivers/fastboot/fb_common.c | 22 ++++++++++++++++++----
> drivers/fastboot/fb_getvar.c | 8 +++++++-
> 5 files changed, 64 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig
> index 70207573de2bd0d56b4b7fa6f7e17fdc5803ba15..b2b20a2c5e430cccc49fd6c04d6fb8825b67ec04 100644
> --- a/drivers/fastboot/Kconfig
More information about the U-Boot
mailing list