[PATCH] mmc: sunxi: Declare ERASE capability
Ulf Hansson
ulf.hansson at linaro.org
Wed Aug 20 07:20:22 PDT 2014
On 20 August 2014 16:10, David Lanzendörfer <david.lanzendoerfer at o2s.ch> wrote:
> Hi
>> Declare ERASE capability so we can use filesystems with the discard
>> option and the fstrim tool.
> I totally agree with you that information about such capabilities should be
> exposed but maybe it would be wiser to use DT instead of hardcoding it?
Nope, this is pure software support. No HW config.
What we should do future wise, is to remove the MMC_CAP_ERASE
entirely. Due to current existing bugs, mainly in mmc core layer
regarding erase, we can't do it yet.
> I mean a WiFi device won't support erase functionality...
That's already covered by the mmc core layer. No worries.
Kind regards
Uffe
More information about the linux-arm-kernel
mailing list