]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: mmc: Expand bkops handling
authorMarek Vasut <marex@denx.de>
Thu, 5 Jan 2023 14:19:08 +0000 (15:19 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 31 Jan 2023 13:02:27 +0000 (22:02 +0900)
commit64e80337a238ea2e02a1a3a4e6d67e3dfd3c040e
treefe0dc4907c173ff510564fbcabce4d867fc04f4c
parent8592fe758c3b204944089a2d50bade44dbd27e79
cmd: mmc: Expand bkops handling

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
cmd/mmc.c
drivers/mmc/mmc.c
include/mmc.h