summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorRuslan Trofymenko <ruslan.trofymenko@linaro.org>2019-07-05 15:37:31 +0300
committerTom Rini <trini@konsulko.com>2019-07-24 13:16:29 -0400
commit6eccd1f740601f39796bace54c40cd785408e74e (patch)
tree170b30905f06317dc17b6412a2893a6522fe479c /configs
parent37f1811a0b31005284e8514955e7bf7e174cc506 (diff)
disk: part: Extend API to get partition info
This patch adds part_get_info_by_dev_and_name_or_num() function which allows us to get partition info from its number or name. Partition of interest is specified by string like "device_num:partition_number" or "device_num#partition_name". The patch was extracted from [1]. [1] https://android-review.googlesource.com/c/platform/external/u-boot/+/729880/2 Signed-off-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org> Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com> Reviewed-by: Alistair Strachan <astrachan@google.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions