On 20 August 2014 16:10, David Lanzendörfer <david.lanzendoerfer@xxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html