[PATCH v2] cmd: mmc: Expand bkops handling

Simon Glass sjg at chromium.org
Sat Jan 7 01:13:25 CET 2023


On Thu, 5 Jan 2023 at 07:19, Marek Vasut <marex at 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 at denx.de>
> ---
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> Cc: Peng Fan <peng.fan at 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 at chromium.org>


More information about the U-Boot mailing list