From patchwork Sat Dec 6 22:32:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Heimpold X-Patchwork-Id: 418419 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 306DF1400E7 for ; Sun, 7 Dec 2014 09:34:29 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 22D7E28C152; Sat, 6 Dec 2014 23:31:59 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 518602805E6 for ; Sat, 6 Dec 2014 23:31:34 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .heimpold. - helo: .mo4-p00-ob.smtp.rzone. - helo-domain: .rzone.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -8.5 Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.216]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sat, 6 Dec 2014 23:31:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1417905191; l=898; s=domk; d=heimpold.de; h=Date:Subject:Cc:To:From; bh=B7ZT9P+n7lloc0+k68hkXzvARgc=; b=ocJPYzHxt39U8jrfZphpj8peG3CJKtFrUIerERShRs6AhUh1wpvwvrpz62Y51MhKSnH yuE/8tKETu1EAMADS5WwUt0wz7/M6g5nePLVAj9HVtGcmZ5sV4TKS81u2Xw8WggWmvARL ylg6tLY3jYI51F2EWOTCSH+lTdrySLBbt2Y= X-RZG-AUTH: :O2kGeEG7b/pS1EW8QnKjhhg/vO4pzqdNys2z+NfqLSUoNNCTudAGGnyHtjxQd77aq3bA2w== X-RZG-CLASS-ID: mo00 Received: from tonne.mhei.heimpold.itr (dslb-178-012-069-235.178.012.pools.vodafone-ip.de [178.12.69.235]) by post.strato.de (RZmta 36.2 DYNA|AUTH) with ESMTPA id z06d3cqB6MXBk04; Sat, 6 Dec 2014 23:33:11 +0100 (CET) Received: from kerker.fritz.box (kerker [192.168.8.1]) by tonne.mhei.heimpold.itr (Postfix) with ESMTP id DB03412727C; Sat, 6 Dec 2014 23:33:10 +0100 (CET) From: Michael Heimpold To: wigyori@uid0.hu Date: Sat, 6 Dec 2014 23:32:52 +0100 Message-Id: <1417905173-31494-8-git-send-email-mhei@heimpold.de> X-Mailer: git-send-email 1.7.10.4 Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [PATCH] mxs: allow bootloader to pass kernel cmdline X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" This enables the config option to allow a bootloader, e.g. U-Boot, to pass the kernel command line arguments. Without, only the predefined command line from DT is used. Signed-off-by: Michael Heimpold --- target/linux/mxs/config-3.14 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/mxs/config-3.14 b/target/linux/mxs/config-3.14 index ead8dc3..0ae8355 100644 --- a/target/linux/mxs/config-3.14 +++ b/target/linux/mxs/config-3.14 @@ -27,7 +27,9 @@ CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y CONFIG_ARM=y CONFIG_ARM_AMBA=y CONFIG_ARM_APPENDED_DTB=y -# CONFIG_ARM_ATAG_DTB_COMPAT is not set +CONFIG_ARM_ATAG_DTB_COMPAT=y +# CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is not set +CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y CONFIG_ARM_CPU_SUSPEND=y CONFIG_ARM_L1_CACHE_SHIFT=5 CONFIG_ARM_NR_BANKS=8