[U-Boot] [PATCH v4 00/18] Support for eMMC partitioning and related fixes

Diego Santa Cruz Diego.SantaCruz at spinetix.com
Tue Dec 23 10:50:15 CET 2014


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.

This version resyncs to u-boot.git master
d8bec60c1b0de7770f9b56ad092ab9be801d99af as some recent mmc changes
conflicted with these patches, in particular the DDR mode support.

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 | 288 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 include/mmc.h     |  45 ++++++++-
 3 files changed, 515 insertions(+), 25 deletions(-)

-- 
2.2.1



More information about the U-Boot mailing list