mirror of
https://xff.cz/git/u-boot/
synced 2025-10-30 01:53:48 +01:00
disk: Handle UCLASS_EFI_MEDIA in dev_print()
This is currently missing. Add it. Fix the code style for the function while we are here. Suggested-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -148,6 +148,9 @@ void dev_print (struct blk_desc *dev_desc)
|
|||||||
case UCLASS_VIRTIO:
|
case UCLASS_VIRTIO:
|
||||||
printf("%s VirtIO Block Device\n", dev_desc->vendor);
|
printf("%s VirtIO Block Device\n", dev_desc->vendor);
|
||||||
break;
|
break;
|
||||||
|
case UCLASS_EFI_MEDIA:
|
||||||
|
printf("EFI media Block Device %d\n", dev_desc->devnum);
|
||||||
|
break;
|
||||||
case UCLASS_INVALID:
|
case UCLASS_INVALID:
|
||||||
puts("device type unknown\n");
|
puts("device type unknown\n");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user