fec: Move imx_get_mac_from_fuse declare to imx file
[oweals/u-boot.git] / include / blk.h
index 5e94f0e096b86046f85829999d221b652c8bb616..6f541bb2bae484ae594d022b496ef44f3d0bd932 100644 (file)
@@ -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 */
 };
@@ -112,6 +113,12 @@ struct blk_desc {
        (PAD_SIZE(size, blk_desc->blksz))
 
 #if CONFIG_IS_ENABLED(BLOCK_CACHE)
+
+/**
+ * blkcache_init() - initialize the block cache list pointers
+ */
+int blkcache_init(void);
+
 /**
  * blkcache_read() - attempt to read a set of blocks from cache
  *
@@ -122,7 +129,7 @@ struct blk_desc {
  * @param blksz - size in bytes of each block
  * @param buf - buffer to contain cached data
  *
- * @return - '1' if block returned from cache, '0' otherwise.
+ * @return - 1 if block returned from cache, 0 otherwise.
  */
 int blkcache_read(int iftype, int dev,
                  lbaint_t start, lbaint_t blkcnt,