mmc: add API to do eMMC hardware partitioning