Browse Source

block: recognize /dev/fit* block devices

Prepare for /dev/fit* block devices of the upcoming uImage.FIT
sub-image block driver which are going to be used as rootfs (fit0) as
well as rootfs_data (fitrw) in some cases.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Daniel Golle 1 year ago
parent
commit
41e619ed13
1 changed files with 1 additions and 0 deletions
  1. 1 0
      block.c

+ 1 - 0
block.c

@@ -593,6 +593,7 @@ static void cache_load(int mtd)
 	_cache_load("/dev/vd*");
 	_cache_load("/dev/xvd*");
 	_cache_load("/dev/dm-*");
+	_cache_load("/dev/fit*");
 }