Changelog: V2: unfiy original mmc read and write command together to only place Based on the unfied result, also add the erase command into that place.
V3: put varible statement at the beginning of function. convert printf to puts for only print out string. Further unify getting blk and cnt method. Lei Wen (2): MMC: unify mmc read and write operation MMC: add erase function to both mmc and sd common/cmd_mmc.c | 83 ++++++++++++++++++++++++++----------------- drivers/mmc/mmc.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++ include/mmc.h | 8 ++++ include/part.h | 3 ++ 4 files changed, 163 insertions(+), 33 deletions(-) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot