From 533d676d61e2099f5a0331beec69f7ef0ade46e7 Mon Sep 17 00:00:00 2001
From: Robert Drab <robert.drab@huawei.com>
Date: Wed, 10 Mar 2021 09:24:47 +0100
Subject: [PATCH] linux-yocto: Add missing mtd_block config

ActsJFFS2Test it is requires mtd_block device to mount jffs2 fs image.

Signed-off-by: Robert Drab <robert.drab@huawei.com>
---
 .../linux/linux-yocto/0001-fragment-jffs2-tests.cfg              | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-ohos-acts/recipes-kernel/linux/linux-yocto/0001-fragment-jffs2-tests.cfg b/meta-ohos-acts/recipes-kernel/linux/linux-yocto/0001-fragment-jffs2-tests.cfg
index f877572f..24f33f99 100644
--- a/meta-ohos-acts/recipes-kernel/linux/linux-yocto/0001-fragment-jffs2-tests.cfg
+++ b/meta-ohos-acts/recipes-kernel/linux/linux-yocto/0001-fragment-jffs2-tests.cfg
@@ -1,3 +1,4 @@
 CONFIG_MTD=y
+CONFIG_MTD_BLOCK=y
 CONFIG_MTD_BLOCK2MTD=m
 CONFIG_JFFS2_FS=y
-- 
GitLab