mmc: Check support for TRIM operations
authorLoic Poulain <loic.poulain@linaro.org>
Thu, 26 Jan 2023 09:24:17 +0000 (10:24 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 10 Apr 2023 03:17:11 +0000 (12:17 +0900)
commiteeb739a6fde6e926b389b253668b2a8fd09a58c7
tree5d6eda2c68cc0cb44c71c28abaf6831b6b7d7508
parent7daa8dd59bc8455a43cdd2d0e34206e406e5cdcc
mmc: Check support for TRIM operations

When secure/insecure TRIM operations are supported.
When used as erase command argument it applies the
erase operation to write blocks instead of erase
groups.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c
include/mmc.h