Files
u-boot/include
Heinrich Schuchardt 8faeb1d722 part: eliminate part_get_info_by_name_type()
Since commit 56670d6fb8 ("disk: part: use common api to lookup part
driver") part_get_info_by_name_type() ignores the part_type parameter
used to restrict the partition table type.

omap_mmc_get_part_size() and part_get_info_by_name() are the only
consumers.

omap_mmc_get_part_size() calls with part_type = PART_TYPE_EFI because at
the time of implementation a speed up could be gained by passing the
partition table type. After 5 years experience without this restriction
it looks safe to keep it that way.

part_get_info_by_name() uses PART_TYPE_ALL.

Move the logic of part_get_info_by_name_type() to part_get_info_by_name()
and replace the function in omap_mmc_get_part_size().

Fixes: 56670d6fb8 ("disk: part: use common api to lookup part driver")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-25 12:44:46 -04:00
..
2023-07-25 12:44:46 -04:00
2023-05-05 17:48:44 -04:00
2023-04-27 13:51:06 -04:00
2023-07-17 15:38:11 -04:00
2023-03-30 15:09:59 -04:00
2023-02-19 21:15:15 +01:00
2023-07-21 09:00:39 +02:00
2023-07-14 12:54:51 -04:00
2023-05-02 14:23:34 -04:00
2023-05-15 10:00:30 +02:00
2023-04-27 13:51:06 -04:00
2023-03-13 13:53:01 +01:00
2023-04-06 15:08:46 -04:00
2023-03-02 17:45:58 -05:00
2023-06-19 14:34:16 -04:00
2023-04-28 11:30:17 -06:00
2023-06-10 13:34:05 +02:00
2023-06-20 20:56:27 -04:00
2023-05-13 09:52:32 -04:00