From: Tom Rini Date: Thu, 14 Jan 2016 12:46:55 -0500 Subject: [U-Boot] [U-Boot, PATCH 1/1] mmc: emmc and hw partitions partition table id bugfix. In-Reply-To: References: Message-ID: <20160114174655.GE3359@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Tom Rini 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: