Re: [PATCH v3] cmd: mmc: Allow using partition name in mmc erase command

2024-09-17 Thread Tom Rini
On Mon, Sep 02, 2024 at 08:49:17PM +0200, Tomas Paukrt wrote: > The mmc erase command currently requires blk# and cnt parameters > which can be obtained using the part start and part size commands > if the entire partition needs to be erased. > > Simplify the use of the mmc erase command by allow

Re: [PATCH v3] cmd: mmc: Allow using partition name in mmc erase command

2024-09-05 Thread Quentin Schulz
Hi Tomas, On 9/3/24 12:14 PM, Tomas Paukrt wrote: Same question as for v1, are we sure that the partition block size is the same as the MMC erase block size? Is this guaranteed by all standards (all MMC standards, and all partition table standards)? Otherwise I assume we should do some maths her

Re: [PATCH v3] cmd: mmc: Allow using partition name in mmc erase command

2024-09-03 Thread Tomas Paukrt
> Same question as for v1, are we sure that the partition block size is > the same as the MMC erase block size? Is this guaranteed by all > standards (all MMC standards, and all partition table standards)? > Otherwise I assume we should do some maths here to figure out the MMC > start block AND blo

Re: [PATCH v3] cmd: mmc: Allow using partition name in mmc erase command

2024-09-03 Thread Quentin Schulz
Hi Tomas, On 9/2/24 8:49 PM, Tomas Paukrt wrote: The mmc erase command currently requires blk# and cnt parameters which can be obtained using the part start and part size commands if the entire partition needs to be erased. Simplify the use of the mmc erase command by allowing the partition nam

[PATCH v3] cmd: mmc: Allow using partition name in mmc erase command

2024-09-02 Thread Tomas Paukrt
The mmc erase command currently requires blk# and cnt parameters which can be obtained using the part start and part size commands if the entire partition needs to be erased. Simplify the use of the mmc erase command by allowing the partition name to be specified directly. Signed-off-by: Tomas Pa