[U-Boot] [PATCH 2/2] mmc: restore capacity when switching to partition 0
Pantelis Antoniou
panto at antoniou-consulting.com
Thu Oct 2 13:07:49 CEST 2014
Hi Tom,
On Sep 11, 2014, at 8:45 PM, Tom Rini <trini at ti.com> wrote:
> On Tue, Sep 02, 2014 at 06:31:23PM -0500, Peter A. Bigot wrote:
>
>> 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 at pabigot.com>
>
> Tested-by: Tom Rini <trini at ti.com>
>
I’m going to take this in. It’s required to get the bone to boot from
a standard MMC and I’d rather not introduce another boneblack variant
to get it to boot from MMC.
> --
> Tom
Tested-by: Pantelis Antoniou <panto at antoniou-consulting.com>
Acked-by: Pantelis Antoniou <panto at antoniou-consulting.com>
More information about the U-Boot
mailing list