diff options
author | Peter Bigot <pab@pabigot.com> | 2014-09-02 18:31:23 -0500 |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2014-10-03 17:26:50 +0300 |
commit | 6dc93e7087ccac1acb6910ac8838d9e90c602fe4 (patch) | |
tree | 5d71cb683c8b049255a0fea09277e4114aeb9a07 /scripts/multiconfig.sh | |
parent | 021a80559f4293368558cc10dbbc75b26ecab059 (diff) | |
download | u-boot-imx-6dc93e7087ccac1acb6910ac8838d9e90c602fe4.zip u-boot-imx-6dc93e7087ccac1acb6910ac8838d9e90c602fe4.tar.gz u-boot-imx-6dc93e7087ccac1acb6910ac8838d9e90c602fe4.tar.bz2 |
mmc: restore capacity when switching to partition 0
The capacity and lba for an MMC device with part_num 0 reflects the
whole device. When mmc_switch_part() successfully switches to a
partition, the capacity is changed to that partition. As partition 0
does not physically exist, attempts to switch back to the whole device
will indicate an error, but the capacity setting for the whole device
must still be restored to match the partition.
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Tested-by: Tom Rini <trini@ti.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'scripts/multiconfig.sh')
0 files changed, 0 insertions, 0 deletions