/* @handle: EFI handle of the block device @dev: udevice of the block device Return: number of partitions created  */
static int efi_bl_bind_partitions(efi_handle_t handle, struct udevice *dev)
/* @handle: EFI handle of the block device @dev: udevice of the block device Return: number of partitions created  */
static int efi_bl_bind_partitions(efi_handle_t handle, struct udevice *dev)
{
	struct blk_desc *desc;
	const char *if_typename;
	desc = dev_get_uclass_platdata(dev);
	if_typename = blk_get_if_type_name(desc->if_type);
	return efi_disk_create_partitions(handle, desc, if_typename,
					  desc->devnum, dev->name);
}