Re: [PATCH] cmd: mmc: Expand bkops handling

2023-01-05 Thread Marek Vasut
On 12/22/22 18:47, Simon Glass wrote: [...] diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 210703ea46b..afbc497b12c 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -3127,9 +3127,10 @@ int mmc_init_device(int num) #endif #ifdef CONFIG_CMD_BKOPS_ENABLE We shouldn't

Re: [PATCH] cmd: mmc: Expand bkops handling

2023-01-05 Thread Marek Vasut
On 12/27/22 00:55, Jaehoon Chung wrote: Hi, Hi, [...] @@ -1040,7 +1036,41 @@ static int do_mmc_bkops_enable(struct cmd_tbl *cmdtp, int flag, return CMD_RET_FAILURE; } - return mmc_set_bkops_enable(mmc); + return mmc_set_bkops_enable(mmc, autobkops,

RE: [PATCH] cmd: mmc: Expand bkops handling

2022-12-26 Thread Jaehoon Chung
Hi, > -Original Message- > From: Marek Vasut > Sent: Thursday, December 22, 2022 2:11 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Jaehoon Chung ; Peng > Fan > Subject: [PATCH] cmd: mmc: Expand bkops handling > > Add more capable "bkops" command which allows enabling and

Re: [PATCH] cmd: mmc: Expand bkops handling

2022-12-22 Thread Simon Glass
Hi Marek, On Wed, 21 Dec 2022 at 22:11, Marek Vasut 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