Commits
Sam Protsenko committed 0d37f4f61c5
disk: Provide API to get partition by name for specific type commit 30789095566a6f4c62430f613f450acf8d5162e5 upstream. 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> [praneeth@ti.com: cherry-pick commit 30789095566a from v2017.11] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>