mmc: mmc_boot: Support Sandisk and Micron eMMC BOOT/RPMB hardware partition resizing
authorLuke Wang <ziniu.wang_1@nxp.com>
Tue, 25 Mar 2025 08:29:14 +0000 (16:29 +0800)
committerPeng Fan <peng.fan@nxp.com>
Fri, 11 Apr 2025 03:51:04 +0000 (11:51 +0800)
commit7550bfdbf41b721f750a62b87a42a3329a2e2f81
tree3c8389415634fd77ea9a7f5f0f13c418613875e1
parentd99f8d2d749c0e1b352766281f5f5d71fa845f76
mmc: mmc_boot: Support Sandisk and Micron eMMC BOOT/RPMB hardware partition resizing

Current mmc bootpart-resize command only support Samsung eMMC BOOT/RPMB
hardware partition resizing. Add Sandisk and Micron eMMC BOOT/RPMB hardware
partition resizing support. The commands and parameters for resizing
partitions are different for each manufacturer. Select the corresponding
function according to CID.

Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/mmc_boot.c
include/mmc.h