summaryrefslogtreecommitdiff
path: root/include/blk.h
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2018-10-15 12:21:10 +0300
committerSimon Glass <sjg@chromium.org>2018-11-14 20:16:27 +0300
commit4ad54ec4d5c98a297f8df2fe9a630a534557f717 (patch)
tree757d0192d9190c05e0417d4b3ee66b96cdb44734 /include/blk.h
parentc879eeb7aa95d753d4d9e39f43004943ed9d93b7 (diff)
downloadu-boot-4ad54ec4d5c98a297f8df2fe9a630a534557f717.tar.xz
blk: Introduce IF_TYPE_VIRTIO
This adds a new block interface type for VirtIO block devices. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/blk.h')
-rw-r--r--include/blk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/blk.h b/include/blk.h
index 5e94f0e096..d0c033aece 100644
--- a/include/blk.h
+++ b/include/blk.h
@@ -33,6 +33,7 @@ enum if_type {
IF_TYPE_HOST,
IF_TYPE_NVME,
IF_TYPE_EFI,
+ IF_TYPE_VIRTIO,
IF_TYPE_COUNT, /* Number of interface types */
};