From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2, 1/4] disk: part: implement generic function part_get_info_by_name()
Date: Mon, 3 Oct 2016 09:36:54 -0400 [thread overview]
Message-ID: <20161003133654.GD4884@bill-the-cat> (raw)
In-Reply-To: <1473409638-19701-2-git-send-email-brain@jikos.cz>
On Fri, Sep 09, 2016 at 10:27:15AM +0200, Petr Kulhavy wrote:
> So far partition search by name has been supported only on the EFI partition
> table. This patch extends the search to all partition tables.
>
> Rename part_get_info_efi_by_name() to part_get_info_by_name(), move it from
> part_efi.c into part.c and make it a generic function which traverses all part
> drivers and searches all partitions (in the order given by the linked list).
>
> For this a new variable struct part_driver.max_entries is added, which limits
> the number of partitions searched. For EFI this was GPT_ENTRY_NUMBERS.
> Similarly the limit is defined for DOS, ISO, MAC and AMIGA partition tables.
>
> Signed-off-by: Petr Kulhavy <brain@jikos.cz>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> Acked-by: Steve Rae <steve.rae@raedomain.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20161003/30ffc00a/attachment.sig>
next prev parent reply other threads:[~2016-10-03 13:36 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-09 8:27 [U-Boot] [PATCH v2 0/4] Fastboot MBR and generic partition support Petr Kulhavy
2016-09-09 8:27 ` [U-Boot] [PATCH v2 1/4] disk: part: implement generic function part_get_info_by_name() Petr Kulhavy
2016-09-12 17:35 ` Steve Rae
2016-09-19 0:57 ` Simon Glass
2016-10-03 13:36 ` Tom Rini [this message]
2016-09-09 8:27 ` [U-Boot] [PATCH v2 2/4] fastboot: add support for writing MBR Petr Kulhavy
2016-09-12 17:38 ` Steve Rae
2016-09-19 0:57 ` Simon Glass
2016-10-03 13:36 ` [U-Boot] [U-Boot,v2,2/4] " Tom Rini
2016-09-09 8:27 ` [U-Boot] [PATCH v2 3/4] disk: part: refactor generic name creation for DOS and ISO Petr Kulhavy
2016-09-12 17:39 ` Steve Rae
2016-09-19 0:57 ` Simon Glass
2016-10-03 13:37 ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-09-09 8:27 ` [U-Boot] [PATCH v2 4/4] fastboot: move FASTBOOT_FLASH options into Kconfig Petr Kulhavy
2016-09-09 13:56 ` Tom Rini
2016-09-12 17:41 ` Steve Rae
2016-09-19 0:57 ` Simon Glass
2016-10-03 13:37 ` [U-Boot] [U-Boot, v2, " Tom Rini
2016-09-12 17:42 ` [U-Boot] [PATCH v2 0/4] Fastboot MBR and generic partition support Steve Rae
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161003133654.GD4884@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.