
On Thu, 5 Jan 2023 at 07:19, Marek Vasut marex@denx.de wrote:
Add more capable "bkops" command which allows enabling and disabling both manual and automatic bkops. The existing 'mmc bkops-enable' subcommand is poorly named to cover all the possibilities, hence the new-ish subcommand. Note that both commands are wrappers around the same common code.
Signed-off-by: Marek Vasut marex@denx.de
Cc: Jaehoon Chung jh80.chung@samsung.com Cc: Peng Fan peng.fan@nxp.com
V2: - Add kerneldoc comment to mmc_set_bkops_enable - Drop ifdef around mmc_set_bkops_enable in mmc.h
cmd/mmc.c | 49 +++++++++++++++++++++++++++++++++++++++-------- drivers/mmc/mmc.c | 14 +++++++++----- include/mmc.h | 14 +++++++++++--- 3 files changed, 61 insertions(+), 16 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org