From: Syed Johan Arif Bin Syed Mohamad Fauzi 
<syed.johan.arif.syed.mohamad.fa...@intel.com>

When added, this feature enables memory controller and MTD support

Signed-off-by: Syed Johan Arif Bin Syed Mohamad Fauzi 
<syed.johan.arif.syed.mohamad.fa...@intel.com>
---
 features/mtd/mtd.cfg | 7 +++++++
 features/mtd/mtd.scc | 3 +++
 2 files changed, 10 insertions(+)
 create mode 100644 features/mtd/mtd.cfg
 create mode 100644 features/mtd/mtd.scc

diff --git a/features/mtd/mtd.cfg b/features/mtd/mtd.cfg
new file mode 100644
index 0000000..90c2128
--- /dev/null
+++ b/features/mtd/mtd.cfg
@@ -0,0 +1,7 @@
+CONFIG_MEMORY=y
+CONFIG_MTD=y
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
diff --git a/features/mtd/mtd.scc b/features/mtd/mtd.scc
new file mode 100644
index 0000000..957cbbe
--- /dev/null
+++ b/features/mtd/mtd.scc
@@ -0,0 +1,3 @@
+define KFEATURE_DESCRIPTION "Enable mtd and memory support"
+
+kconf hardware mtd.cfg
-- 
1.9.1

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

Reply via email to