]> git.dujemihanovic.xyz Git - u-boot.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)
commitcf1f7355aea0b4640a244a75b3c18835e7f7b2bb
treefe0dc4907c173ff510564fbcabce4d867fc04f4c
parent30db474704405be823259851cbb76fa05366c8af
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