]> git.dujemihanovic.xyz Git - u-boot.git/commit
disk: part: Add API to get partitions with specific driver
authorJoshua Watt <jpewhacker@gmail.com>
Mon, 3 Jul 2023 13:39:54 +0000 (08:39 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 17 Jul 2023 19:39:55 +0000 (15:39 -0400)
commit387f8be55b5091c4ed39221ef6a38ea7099d0a36
tree90111de1210771b235dc8e98106a94125442157c
parent44ef2855e1ec5964c02cadd2cc3423f87524830b
disk: part: Add API to get partitions with specific driver

Adds part_driver_get_type() API which can be used to force a specific
driver to be used when getting partition information instead of relying
on auto detection.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
disk/part.c
include/part.h