[rdkb][common][emmc][Add emmc config]
[Description]
Add emmc config
[Release-log]
Change-Id: Iacc840f46062103f9208b9162e98a58e97ed3d29
diff --git a/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/emmc.cfg b/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/emmc.cfg
new file mode 100644
index 0000000..09e5069
--- /dev/null
+++ b/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/emmc.cfg
@@ -0,0 +1,8 @@
+CONFIG_EXT4_FS=m
+CONFIG_EXT4_ENCRYPTION=n
+CONFIG_JBD2=m
+CONFIG_F2FS_FS=m
+CONFIG_MSDOS_FS=m
+CONFIG_NLS_CODEPAGE_437=m
+CONFIG_NLS_ISO8859_1=m
+CONFIG_CRC16=m
\ No newline at end of file
diff --git a/recipes-kernel/linux/linux-mediatek_5.4.bb b/recipes-kernel/linux/linux-mediatek_5.4.bb
index ed1c438..de4c09d 100644
--- a/recipes-kernel/linux/linux-mediatek_5.4.bb
+++ b/recipes-kernel/linux/linux-mediatek_5.4.bb
@@ -42,6 +42,7 @@
${@bb.utils.contains('DISTRO_FEATURES', 'mt76', 'file://rdkb_cfg/mac80211.cfg', 'file://rdkb_cfg/nf_hnat.cfg', d)} \
file://rdkb_cfg/prplmesh.cfg \
file://rdkb_cfg/filogic_rdkb.cfg \
+ ${@bb.utils.contains('DISTRO_FEATURES','emmc','file://rdkb_cfg/emmc.cfg','',d)} \
"
require ${PN}-${PV}/generic/backport-5.4/backport-5.4.inc