diff options
author | Diego Santa Cruz <Diego.SantaCruz@spinetix.com> | 2014-12-23 10:50:29 +0100 |
---|---|---|
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2015-01-19 17:41:45 +0200 |
commit | ac9da0e08c01e3addc55241ffc09db29aa800473 (patch) | |
tree | 913a952f42afe8aa21b69ce5d179eefb915fa486 /configs/nitrogen6q_defconfig | |
parent | 9cf199ebcff13f8d98b31ab48e3bcce37ed8925d (diff) | |
download | u-boot-imx-ac9da0e08c01e3addc55241ffc09db29aa800473.zip u-boot-imx-ac9da0e08c01e3addc55241ffc09db29aa800473.tar.gz u-boot-imx-ac9da0e08c01e3addc55241ffc09db29aa800473.tar.bz2 |
mmc: add API to do eMMC hardware partitioning
This adds an API to do hardware partitioning on eMMC devices. The
new mmc_hwpart_config() function does the partitioning in one go.
As the different attributes and partitioning options on eMMC may
be interdependent validation has to be done based on the complete
partitioning configuration. The function accepts three modes:
- MMC_HWPART_CONF_CHECK: just validates that the configuration
is valid.
- MMC_HWPART_CONF_SET: validates and sets all the fields in
EXT_CSD but without setting the "partitioning completed" bit,
and thus is reversible.
- MMC_HWPART_CONF_COMPLETE: does everything and is thus not
reversible.
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Diffstat (limited to 'configs/nitrogen6q_defconfig')
0 files changed, 0 insertions, 0 deletions