Re: [PATCH 2/2] mmc: mmc_test: use erase_arg for mmc_erase command

2021-02-05 Thread Yann GAUTIER
On 2/5/21 7:33 AM, Adrian Hunter wrote: On 4/02/21 2:05 pm, yann.gaut...@foss.st.com wrote: From: Yann Gautier Since [1], the erase argument for mmc_erase() function is saved in erase_arg field of card structure. It is preferable to use it instead of hard-coded MMC_SECURE_ERASE_ARG, which

Re: [PATCH 2/2] mmc: mmc_test: use erase_arg for mmc_erase command

2021-02-04 Thread Adrian Hunter
On 4/02/21 2:05 pm, yann.gaut...@foss.st.com wrote: > From: Yann Gautier > > Since [1], the erase argument for mmc_erase() function is saved in > erase_arg field of card structure. It is preferable to use it instead of > hard-coded MMC_SECURE_ERASE_ARG, which from eMMC 4.51 spec is not >

[PATCH 2/2] mmc: mmc_test: use erase_arg for mmc_erase command

2021-02-04 Thread yann.gautier
From: Yann Gautier Since [1], the erase argument for mmc_erase() function is saved in erase_arg field of card structure. It is preferable to use it instead of hard-coded MMC_SECURE_ERASE_ARG, which from eMMC 4.51 spec is not recommended: "6.6.16 Secure Erase NOTE Secure Erase is included for