From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 29 Nov 2012 21:42:53 +0000 (+0000)
Subject: use a default kernel command-line to mount squashfs and jffs2
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=763f7805536b75abd384f5d2b4970a13f57ebe18;p=openwrt%2Fstaging%2Fwigyori.git

use a default kernel command-line to mount squashfs and jffs2

This fixes bug #9055.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34424
---

diff --git a/target/linux/ar7/config-3.3 b/target/linux/ar7/config-3.3
index e2b34adce9..7646ba1458 100644
--- a/target/linux/ar7/config-3.3
+++ b/target/linux/ar7/config-3.3
@@ -10,6 +10,9 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y
 CONFIG_BOOT_ELF32=y
 CONFIG_CEVT_R4K=y
 CONFIG_CEVT_R4K_LIB=y
+CONFIG_CMDLINE="rootfstype=squashfs,jffs2"
+CONFIG_CMDLINE_BOOL=y
+# CONFIG_CMDLINE_OVERRIDE is not set
 CONFIG_CPMAC=y
 CONFIG_CPU_HAS_PREFETCH=y
 CONFIG_CPU_HAS_SYNC=y
diff --git a/target/linux/ar7/config-3.6 b/target/linux/ar7/config-3.6
index 1fea93a59e..e296a75c6a 100644
--- a/target/linux/ar7/config-3.6
+++ b/target/linux/ar7/config-3.6
@@ -13,6 +13,9 @@ CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
 CONFIG_BOOT_ELF32=y
 CONFIG_CEVT_R4K=y
 CONFIG_CEVT_R4K_LIB=y
+CONFIG_CMDLINE="rootfstype=squashfs,jffs2"
+CONFIG_CMDLINE_BOOL=y
+# CONFIG_CMDLINE_OVERRIDE is not set
 CONFIG_CPMAC=y
 CONFIG_CPU_HAS_PREFETCH=y
 CONFIG_CPU_HAS_SYNC=y