[U-Boot] [U-Boot, PATCH 1/1] mmc: emmc and hw partitions partition table id bugfix.

Tom Rini trini at konsulko.com
Thu Jan 14 18:46:55 CET 2016


On Mon, Jan 11, 2016 at 01:39:07PM +0000, Erik Tideman wrote:

> On bootup the emmc's hw partition is always set to 0 and the partition 
> table is read from it. When switching to another hw partition the 
> partition table's id is not updated but instead the old one from 
> hw partition 0 is used. If there is no partition table on hw partition 0
> then the code will terminate and return error even if the desired hw 
> partition contains a perfectly fine partition table. This fix updates 
> the partition table struct to correspond to the specified hw partition 
> before testing if the partition table is valid or not.
> 
> Signed-off-by: Erik Tideman <erik.tideman at faltcom.se>

Reviewed-by: Tom Rini <trini at konsulko.com>

But can you please post a v2 with whitespace that matches the rest of
the file?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160114/1427016e/attachment.sig>


More information about the U-Boot mailing list