u-boot/arch
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
..
arc global: Use proper project name U-Boot 2023-06-12 13:24:31 +02:00
arm part: eliminate part_get_info_by_name_type() 2023-07-25 12:44:46 -04:00
m68k m68k: use asm-generic/unaligned.h 2023-05-31 14:05:34 -04:00
microblaze arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
mips mips: octeon: Correct types in cvmx-pko3-queue 2023-07-20 14:48:20 -04:00
nios2 dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
powerpc Merge tag 'fsl-qoriq-2023-7-13' of https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq 2023-07-19 07:59:34 -04:00
riscv riscv: define a cache line size for the generic CPU 2023-07-24 13:22:24 +08:00
sandbox Revert "Merge branch '2023-07-24-introduce-FF-A-suppport'" 2023-07-24 19:51:05 -04:00
sh sh: use asm-generic/unaligned.h 2023-05-31 14:05:34 -04:00
x86 x86: Switch QEMU over to use the bochs driver 2023-07-17 17:23:15 +08:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig acpi: Create a new Kconfig for ACPI 2023-05-11 10:25:29 +08:00
Kconfig.nxp LFU-544: Kconfig.nxp: Fixed secure boot on LS-CH2 platforms 2023-07-06 13:04:56 +08:00
u-boot-elf.lds