Hi, This is the version 2 patch which enable erase/trim feature for MFLD sdhci host controller. This pach has been sent to upstreamed, not accepted yet.
This patch take MFLD SDHCI host controller cannot erase/trim the whole device at one time as an architecture issue. So these patches add a new quirk for MFLD sdhci host controller to workaround this. This code will only impact the host controller which use this quirk. The MFLD SDHCI host controller with this quirk will set the max_discard_sectors value to be one erase block size which is safe for host to erase at one time. change-log: abandon the calculate method used in the version 1 patches. In this patch, add a quirk and simply set the max_discard_sectors valut to one erase block size. patch1: remove unused code in mmc block layer. patch2: set max_discard_sectors value for host controller with MMC_CAP_ERASE_SINGLE cap patch3: add ERASE cap and new quirk for MFLD SDHCI host controller Thanks Chuanxiao _______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
