diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2017-09-22 01:51:59 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-06 11:28:17 -0400 |
commit | 268577669a01b9156d9d634f4314f5f56bdc031a (patch) | |
tree | aead6930fa3c4651b292289aa28292d68907bed8 /fs/ext4 | |
parent | 30789095566a6f4c62430f613f450acf8d5162e5 (diff) |
omap: Fix warning when looking for userdata part
When eMMC was formattaed for Linux partition table, "userdata" partition
is missing. In this case, part_get_info_by_name() iterates over all
registered drivers (which are PART_TYPE_EFI, PART_TYPE_DOS and
PART_TYPE_ISO). And when it comes to PART_TYPE_ISO (which has empty
partition table), we can see next warning in U-Boot output:
** First descriptor is NOT a primary desc on 1:1 **
This patch switches to part_get_info_by_name_type() API in order to
check only EFI partitions for "userdata" partitions. This eliminates
mentioned warning.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions