block: recognize /dev/fit* block devices
authorDaniel Golle <daniel@makrotopia.org>
Sat, 24 Dec 2022 15:21:41 +0000 (15:21 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 1 Dec 2023 22:59:52 +0000 (22:59 +0000)
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>
block.c

diff --git a/block.c b/block.c
index 9b7c49ccb3a3bbb169e7f59cc5acba2d520a2210..37f5bfb4dd98938b456c6d3b2c0b2918ffc9062c 100644 (file)
--- a/block.c
+++ b/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*");
 }