mirror_ubuntu-kernels/include/linux/mmc
Ulf Hansson d2a47176a8 mmc: core: Remove MMC_CAP2_HC_ERASE_SZ
The MMC_CAP2_HC_ERASE_SZ is used only by a few mmc host drivers. Its intent
is to enable eMMC's high-capacity erase size, as to improve the behaviour
of the erase operations.

We should strive to avoid software configuration options that aren't
necessary, but instead deploy common behaviours. For these reasons, let's
remove the capability bit for MMC_CAP2_HC_ERASE_SZ and make it the default
behaviour.

Note that this change doesn't affect eMMCs supporting trim/discard, because
these commands operates on sectors and takes precedence over erase
commands.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-by: Shawn Lin <shawn.lin@rock-chips.com>
2017-06-20 10:30:48 +02:00
..
card.h mmc: core: Allocate per-request data using the block layer core 2017-06-20 10:30:17 +02:00
core.h mmc: core: rename mmc_start_req() to *areq() 2017-02-13 13:20:58 +01:00
host.h mmc: core: Remove MMC_CAP2_HC_ERASE_SZ 2017-06-20 10:30:48 +02:00
mmc.h mmc: Adding AUTO_BKOPS_EN bit set for Auto BKOPS support 2017-02-14 09:11:00 +01:00
pm.h
sd.h
sdhci-pci-data.h mmc: sdhci-pci: Add support for drive strength selection for SPT 2015-06-01 09:07:14 +02:00
sdio_func.h mmc: sdio: fix alignment issue in struct sdio_func 2017-04-18 19:18:07 +02:00
sdio_ids.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-02-22 10:15:09 -08:00
sdio.h
sh_mmcif.h mmc: sh_mmcif: Remove unused clk_ctrl2_present from the platform data 2017-02-13 13:19:58 +01:00
slot-gpio.h mmc: core: First step in cleaning up public mmc header files 2017-02-13 13:20:19 +01:00