[PATCH v2] mmc: mmc_boot: support sandisk and micron emmc boot/rpmb partition resizing

Marek Vasut marek.vasut at mailbox.org
Mon Mar 24 15:11:06 CET 2025


On 3/17/25 9:46 AM, ziniu.wang_1 at nxp.com wrote:
> From: Luke Wang <ziniu.wang_1 at nxp.com>
> 
> Current mmc 

MMC

> bootpart-resize cmd

command

> only support samsung emmc boot/rpmb

Samsung eMMC BOOT/RPMB hardware

> partition resizing. Add sandisk and micron emmc boot/rpmb

Sandisk and Micron eMMC BOOT/RPMB hardware

Please fix capital letters and upper case abbreviations globally.

> partition
> resizing support. The commands and parameters for resizing partitions
> are different for each manufacturer. Select the corresponding function
> according to cid.

[...]

> +/*
> + * This function changes the size of boot partition and the size of rpmb
> + * partition present on EMMC devices.

eMMC

> + * Input Parameters:
> + * struct *mmc: pointer for the mmc device strcuture
> + * bootsize: size of boot partition
> + * rpmbsize: size of rpmb partition
> + *
> + * Returns 0 on success.
> + */
> +
Thanks !


More information about the U-Boot mailing list