I have the need to hardware partition eMMC devices from U-Boot along with setting enhanced and reliable write attributes.
This series of patches adds this support to U-Boot via a new mmc API, a few new members of struct mmc and a new mmc sub-command. It also features several fixes to the eMMC hardware partition support. I have tested this with Micron eMMC 4.41 parts and it is working as expected. I am new to sending patches to the U-Boot mailing list, let alone working with git, so please excuse any mishaps. Diego Santa Cruz (18): mmc: show hardware partition sizes in mmcinfo output mmc: extend mmcinfo to show enhanced partition attribute mmc: make eMMC general purpose partition numbering match spec mmc: skip mmcinfo partition info processing for eMMC < 4.41 mmc: incomplete test to switch to high-capacity group size definitions mmc: computation of eMMC GP partition size was missing 512 KiB factor mmc: read the size of eMMC enhanced user data area mmc: display size and start of eMMC enhanced user data area in mmcinfo mmc: fix erase_grp_size computation with high-capacity size definition mmc: read the high capacity WP group size for eMMC mmc: show the erase group size and HC WP group size in mmcinfo output mmc: eMMC partitioning data is not effective till partitioning completed mmc: the ext_csd data may be used during init even if reading failed mmc: add API to do eMMC hardware partitioning mmc: add mmc hwpartition sub-command to do eMMC hardware partitioning mmc: extend the mmc hardware partitioning API with write reliability mmc: extend the mmc hwpartition sub-command to change write reliability mmc: extend mmcinfo output to show partition write reliability settings common/cmd_mmc.c | 207 ++++++++++++++++++++++++++++++++++++++- drivers/mmc/mmc.c | 283 +++++++++++++++++++++++++++++++++++++++++++++++++---- include/mmc.h | 47 +++++++++- 3 files changed, 515 insertions(+), 22 deletions(-) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot