From: Tom Rini Date: Sat, 7 Oct 2017 09:08:21 -0400 Subject: [U-Boot] [U-Boot, 2/2] omap: Fix warning when looking for userdata part In-Reply-To: <20170921225159.2546-2-semen.protsenko@linaro.org> References: <20170921225159.2546-2-semen.protsenko@linaro.org> Message-ID: <20171007130821.GW25966@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 Fri, Sep 22, 2017 at 01:51:59AM +0300, Sam Protsenko wrote: > When eMMC was formattaed for Linux partition table, "userdata" partition > is missing. In this case, part_get_info_by_name() iterates over all > registered drivers (which are PART_TYPE_EFI, PART_TYPE_DOS and > PART_TYPE_ISO). And when it comes to PART_TYPE_ISO (which has empty > partition table), we can see next warning in U-Boot output: > > ** First descriptor is NOT a primary desc on 1:1 ** > > This patch switches to part_get_info_by_name_type() API in order to > check only EFI partitions for "userdata" partitions. This eliminates > mentioned warning. > > Signed-off-by: Sam Protsenko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: