aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/config-4.4
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-23 11:12:34 +0000
committerJohn Crispin <john@openwrt.org>2016-03-23 11:12:34 +0000
commitdd70bcc0895463dadf1976b925bb5e705a1ed2cb (patch)
treefd5b6a818313f2f71fd320ba704d948d2ae11e42 /target/linux/mediatek/config-4.4
parent30d3a8c512c259614dd3da9cd1ef8d125c981555 (diff)
downloadupstream-dd70bcc0895463dadf1976b925bb5e705a1ed2cb.tar.gz
upstream-dd70bcc0895463dadf1976b925bb5e705a1ed2cb.tar.bz2
upstream-dd70bcc0895463dadf1976b925bb5e705a1ed2cb.zip
mediatek: patch block2mtd to allow cmdlineparts to work
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49067
Diffstat (limited to 'target/linux/mediatek/config-4.4')
-rw-r--r--target/linux/mediatek/config-4.43
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/mediatek/config-4.4 b/target/linux/mediatek/config-4.4
index 259e65cb36..f9d5d06765 100644
--- a/target/linux/mediatek/config-4.4
+++ b/target/linux/mediatek/config-4.4
@@ -56,7 +56,7 @@ CONFIG_CLKSRC_MMIO=y
CONFIG_CLKSRC_OF=y
CONFIG_CLKSRC_PROBE=y
CONFIG_CLONE_BACKWARDS=y
-CONFIG_CMDLINE="earlyprintk console=ttyS0,115200 block2mtd=/dev/mmcblk0,65536,eMMC,5 mtdparts=eMMC:256k(mbr),512k(uboot),256k(config),256k(factory),32M(bootimg),32M(recovery),1024M(rootfs),2048M(usrdata),-(bmtpool)"
+CONFIG_CMDLINE="earlyprintk console=ttyS0,115200 block2mtd.block2mtd=/dev/mmcblk0,65536,eMMC,5 mtdparts=eMMC:256k(mbr)ro,512k(uboot)ro,256k(config)ro,256k(factory)ro,32M(bootimg),32M(recovery),1024M(rootfs),2048M(usrdata),-(bmtpool)"
CONFIG_CMDLINE_FORCE=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_MEDIATEK=y
@@ -279,6 +279,7 @@ CONFIG_MMC_SDHCI_PLTFM=y
# CONFIG_MMC_TIFM_SD is not set
CONFIG_MODULES_USE_ELF_REL=y
CONFIG_MTD_BLOCK2MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_M25P80=y
CONFIG_MTD_SPI_NOR=y
CONFIG_MTK_INFRACFG=y