commit | 71085123d27dc5d28ce523344f32ac0d20c5f0a5 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Wed Sep 07 10:38:24 2016 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Sep 26 21:31:25 2016 +0200 |
tree | 950fd211bf33e0f414c27e3bf8c821ef22034ba4 | |
parent | 902a8a0b50d7d13cf88211d0bde3a7c27fd98fa5 [diff] |
mmc: core: Factor out the alignment of erase size In order to clean up the mmc_erase() function and do some optimization for erase size alignment, factor out the guts of erase size alignment into mmc_align_erase_size() function. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Tested-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>