u-boot/arch/arm/mach-omap2
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
..
am33xx Merge tag v2023.07-rc4 into next 2023-06-12 14:55:33 -04:00
omap3 arm: omap3: Directly use SMC #1 in lowlevel_init.S 2023-04-25 15:31:28 -04:00
omap4 arm: Remove kc1 board 2021-04-10 08:01:24 -04:00
omap5 arm: Remove omap5_uevm board 2023-05-03 09:05:24 -04:00
abb.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
boot-common.c arm: Remove ti816x_evm board and ti816x SoC support 2023-05-31 10:11:46 -04:00
clocks-common.c arm: mach-omap2: load/start remoteproc IPU1/IPU2 2022-02-08 09:41:27 -05:00
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
config_secure.mk global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
emif-common.c arm: omap2: Fix warning in force_emif_self_refresh 2023-07-21 15:32:12 -04:00
fdt-common.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
hwinit-common.c dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
Kconfig arm: Remove ti816x_evm board and ti816x SoC support 2023-05-31 10:11:46 -04:00
lowlevel_init.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mem-common.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
omap-cache.c arm: omap2: remove arm_init_domains 2021-03-02 15:53:37 -05:00
pipe3-phy.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
pipe3-phy.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset.c reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
sata.c arm: omap2plus: Move CONFIG_SYS_PTV out of CONFIG namespace 2022-06-06 12:09:00 -04:00
sec-common.c global: Migrate CONFIG_MAX_RAM_BANK_SIZE to CFG 2022-12-23 10:14:51 -05:00
sysinfo-common.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
u-boot-spl.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
utils.c part: eliminate part_get_info_by_name_type() 2023-07-25 12:44:46 -04:00
vc.c omap: Drop CONFIG_OMAP_VC_I2C_HS_MCODE 2017-05-15 10:40:03 -04:00