commit | dee803833b332d197beec6d6e667ed028712c30d | [log] [tgz] |
---|---|---|
author | Sam Protsenko <semen.protsenko@linaro.org> | Fri Sep 22 01:51:58 2017 +0300 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 06 11:28:17 2017 -0400 |
tree | 638ea729a038272db9e29915b866168b5653ad9c | |
parent | 77ebe36248a9c57d0c022452d44303341012b162 [diff] |
disk: Provide API to get partition by name for specific type There is already existing function part_get_info_by_name(). But sometimes user is particularly interested in looking for only specific partition type. This patch implements such an API that provides partition searching by name for specified partition type. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>