From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 12 May 2017 13:18:17 -0400 Subject: [U-Boot] [U-Boot, 4/6] disk: Return the partition number in part_get_info_by_name() In-Reply-To: <20170402084952.5102-5-deymo@google.com> References: <20170402084952.5102-5-deymo@google.com> Message-ID: <20170512171817.GR5701@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 Sun, Apr 02, 2017 at 01:49:50AM -0700, Alex Deymo wrote: > Similar to what blk_get_device_part_str() does, this patch makes > part_get_info_by_name() return the partition number in case of a match. > This is useful when the partition number is needed and not just the > descriptor. > > Signed-off-by: Alex Deymo > 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: Digital signature URL: