Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1366656pxf; Fri, 2 Apr 2021 08:35:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe3jr6DH43F9vc135SvFSOIuPWj2atjO/F70aYk9PdOm9tC9evt53EppqaucevxuP4E3nO X-Received: by 2002:a02:ab94:: with SMTP id t20mr13612939jan.49.1617377725760; Fri, 02 Apr 2021 08:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617377725; cv=none; d=google.com; s=arc-20160816; b=jCfTnmoXbJyPmiku3PtKc9/Xc52yv3wmdw62HmV2SvuCHUPXLH+IH4TEf1gucv0jy3 Fvr9HOGwvsTyLFL2YNJxfx2Hx1+SWoCaOqBeCBcSFr3653TONczQ4sa5G5TlKgS+Twdl e6MB6Pqs7PJJ5PPFowZdd5ww63IFduGf/x4DLLuQOCUUEa0S+4QfK88OxaUBSk0LMFRg 7puWiNR2VvaZHViGBp5sbQZ++x3+MdvNmv88r8DR1POi7Wqly6LWQKukC6hkif5WW0/a AA+eAWxVnpb+sezUtOlNYbxak5UkCfe3Z+x8+s/XhyXpCA0ykwlkSnOmSDSp5SwLwoVd AJ+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=ip/0pA5z+8Xuyl9sFAPlGwjB/HjrN5qHExzanlOSEfI=; b=H2XmS5LXR3iC0SlucA5MYw6T9fHKBw5yktfcyjcVou3RGgIKc5ul9vw5x2TD5CYmY9 Hi1EmL+YvoFl2ApkPULMHepK447ij2/2nJLVckciCo/AqsF6k+MRpNnSjUfGNXZeO84N aOu58f6oUWQSxVhLwCFiKJajDDV4ivF/CtNwdwIKglROK5vJXMMVHYx8BUaJW1w1TU8I 6jzS6WUQ3EsUDoklDCwWP7FEKk1I/k2S93zWcTamnwFS9baIBjvSm1F+atktG0FP+thL qSVNOY3gZbusPa0DjcObYQrDBIjXwUVDmCnT8wqRX2FdQwFBJTm1U3oq/j4BiJzS1mUp BV6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si7877590ilv.80.2021.04.02.08.35.10; Fri, 02 Apr 2021 08:35:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236199AbhDBPeG (ORCPT + 99 others); Fri, 2 Apr 2021 11:34:06 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:13790 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234723AbhDBPeF (ORCPT ); Fri, 2 Apr 2021 11:34:05 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4FBkc810p9z9v2m9; Fri, 2 Apr 2021 17:34:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id E-R23ddmhdI0; Fri, 2 Apr 2021 17:34:00 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4FBkc76Npnz9v2m8; Fri, 2 Apr 2021 17:33:59 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id CE3098BB77; Fri, 2 Apr 2021 17:34:01 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id KbAlGNza6YEe; Fri, 2 Apr 2021 17:34:01 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 9C1048BB6F; Fri, 2 Apr 2021 17:34:00 +0200 (CEST) Subject: Re: [PATCH v3 09/17] nios2: Convert to GENERIC_CMDLINE To: "Tan, Ley Foon" , "will@kernel.org" , "danielwa@cisco.com" , "robh@kernel.org" , "daniel@gimpelevich.san-francisco.ca.us" Cc: "linux-arch@vger.kernel.org" , "devicetree@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , microblaze , "linux-mips@vger.kernel.org" , "openrisc@lists.librecores.org" , "linux-hexagon@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "x86@kernel.org" , "linux-xtensa@linux-xtensa.org" , "linux-sh@vger.kernel.org" , "sparclinux@vger.kernel.org" References: <85b1dc6339351cbc46d179e8fdb9dfc398e58303.1616765870.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Message-ID: <18f89697-5612-6a1a-ab9d-8842c1b943db@csgroup.eu> Date: Fri, 2 Apr 2021 17:33:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 29/03/2021 à 03:35, Tan, Ley Foon a écrit : > > >> -----Original Message----- >> From: Christophe Leroy >> Sent: Friday, March 26, 2021 9:45 PM >> To: will@kernel.org; danielwa@cisco.com; robh@kernel.org; >> daniel@gimpelevich.san-francisco.ca.us >> Cc: linux-arch@vger.kernel.org; devicetree@vger.kernel.org; linuxppc- >> dev@lists.ozlabs.org; linux-kernel@vger.kernel.org; linuxppc- >> dev@lists.ozlabs.org; linux-arm-kernel@lists.infradead.org; microblaze >> ; linux-mips@vger.kernel.org; Tan, Ley Foon >> ; openrisc@lists.librecores.org; linux- >> hexagon@vger.kernel.org; linux-riscv@lists.infradead.org; x86@kernel.org; >> linux-xtensa@linux-xtensa.org; linux-sh@vger.kernel.org; >> sparclinux@vger.kernel.org >> Subject: [PATCH v3 09/17] nios2: Convert to GENERIC_CMDLINE >> >> This converts the architecture to GENERIC_CMDLINE. >> >> Signed-off-by: Christophe Leroy >> --- >> arch/nios2/Kconfig | 24 +----------------------- >> arch/nios2/kernel/setup.c | 13 ++++--------- >> 2 files changed, 5 insertions(+), 32 deletions(-) >> >> diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index >> c24955c81c92..f66c97b15813 100644 >> --- a/arch/nios2/Kconfig >> +++ b/arch/nios2/Kconfig >> @@ -90,31 +90,9 @@ config NIOS2_ALIGNMENT_TRAP >> >> comment "Boot options" >> >> -config CMDLINE_BOOL >> - bool "Default bootloader kernel arguments" >> - default y >> - >> -config CMDLINE >> - string "Default kernel command string" >> - default "" >> - depends on CMDLINE_BOOL >> - help >> - On some platforms, there is currently no way for the boot loader to >> - pass arguments to the kernel. For these platforms, you can supply >> - some command-line options at build time by entering them here. In >> - other cases you can specify kernel args so that you don't have >> - to set them up in board prom initialization routines. >> - >> -config CMDLINE_FORCE >> - bool "Force default kernel command string" >> - depends on CMDLINE_BOOL >> - help >> - Set this to have arguments from the default kernel command string >> - override those passed by the boot loader. >> - >> config NIOS2_CMDLINE_IGNORE_DTB >> bool "Ignore kernel command string from DTB" >> - depends on CMDLINE_BOOL >> + depends on CMDLINE != "" >> depends on !CMDLINE_FORCE >> default y >> help > > Missing " select GENERIC_CMDLINE" ? Added in v4 Thanks Christophe