The kernel option MTD_NAND has been renamed to MTD_RAW_NAND in the
kernel commit 72c5af002723 ("mtd: rawnand: Clarify Kconfig entry
MTD_NAND"), so adjust the cfg file according to this change.

Signed-off-by: Kevin Hao <kexin....@windriver.com>
---
 bsp/beaglebone/beaglebone.cfg             | 2 +-
 bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg
index f044061032b9..95000f78fc54 100644
--- a/bsp/beaglebone/beaglebone.cfg
+++ b/bsp/beaglebone/beaglebone.cfg
@@ -70,7 +70,7 @@ CONFIG_MTD_CFI_INTELEXT=y
 #
 # Disk-On-Chip Device Drivers
 #
-CONFIG_MTD_NAND=y
+CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_NAND_OMAP2=y
 CONFIG_MTD_NAND_OMAP_BCH=y
 
diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg 
b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg
index cb7c40d37c22..91ea14614284 100644
--- a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg
+++ b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg
@@ -57,7 +57,7 @@ CONFIG_MTD_PHYSMAP_OF=y
 #
 # NAND Flash Device Drivers
 #
-CONFIG_MTD_NAND=y
+CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_NAND_FSL_ELBC=y
 
 #
-- 
2.14.4

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to