Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp648931ybi; Fri, 2 Aug 2019 01:59:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHrc2TfqoNG/r9wZYhwCdCaRy7BbaLT270PEoIIPK8wHn14a/eHFwI/K69xdFAMzV+r6Mp X-Received: by 2002:a17:90a:3401:: with SMTP id o1mr3300712pjb.7.1564736398967; Fri, 02 Aug 2019 01:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564736398; cv=none; d=google.com; s=arc-20160816; b=HrnM9koEhTfUH9Kxj1ZUtdy5XA86mti/1d9mSqe3++X9BDUZA/tHknLdI2+yuCrtbm 9k/UliRr9cZbJxK1fYMMEb930nNZ4oymTDPqFRJloljZKqj3RFd9W3jNR0nQ4DqCeq3k qYGIe3xBNtbrj5DoJ0VcWy7Ury23GwQnEy/8VlN0xsF/WohK7vNk6pbe40hDpMgctG/h WzA7kN7ImrCgvOG7xeAxDd0ewp6JWeZrdDMT/xwF6LeJ49c1Ynl9m4egVUzl1UwhLVqf F77kviywPpixtZ8wWdiLq9SJ+O2PdO6+BYHGnfMIQwjuJvUr4CEJLmn8/HpVXBu7lE+N XO4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rpSZNOrtu8ZQ+NBLB2MkGMKd/4UQg6zVQsIynrawJko=; b=nj8yHXfU1KP2ISq9VSn/I+AIkwCd3bvuc1kubl340EO2S95HUlY49iFhcnFzllc40V DbhWAAc1GIUBoZhKp1XhgDGl8iQsos+wAf+MCw+r+k9RJEb30E57VAouRnf55I5mz4e2 J71zBreEqTPNaqh5sggBvqxM6S7fSfLIuUI8Kr55XFmbu44bn/OtMx2CHe8yYWr6T9HJ pLqvPlnLHSf8CB88n9bp3+XZ1HVcmqfmIazcmjJHyUAkUkftVzmyIAjJO0kCU6aDWj4+ mAtV8W5dhUYWdkuIk9a+Cz4ztNp4u/5sOnG9RbUZrBf9SEmRRsE7evh4DJriEO/agp5V i7FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=ot6m6to1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32si36090152pla.181.2019.08.02.01.59.43; Fri, 02 Aug 2019 01:59:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=ot6m6to1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732429AbfHBFCl (ORCPT + 99 others); Fri, 2 Aug 2019 01:02:41 -0400 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:47665 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726626AbfHBFCl (ORCPT ); Fri, 2 Aug 2019 01:02:41 -0400 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id E1F38806CB; Fri, 2 Aug 2019 17:02:38 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1564722158; bh=rpSZNOrtu8ZQ+NBLB2MkGMKd/4UQg6zVQsIynrawJko=; h=From:To:Cc:Subject:Date; b=ot6m6to1liCC374hNPw/XTFF8B5TDJpVo/FZdRiyN7jroz3Lv+Q34lPlZUwhZaM2d aquth2Kb8PnqdvS2T2huzA5Q1DZWRlVgQaQVNAi5053fOpJ/3NaM8+h//JtSCqefZ5 vNX5TUcaDINe3rzrR7YohERtykISWqyumZlllRvaasOAagOmwteI7y/7DtHORwVR7t 7T7BHhJIDpUjAwBWw7J+Byh63j6wQbbIZe57/HrBUNBEBJ4prwP2YFYJnexLlQgMzf JPCsu4u2a3C6kIjz6L2YaoD8ZOBjBT5f6Fs+gwPKv3UVsj2ol6rYwwf6BjzffLBkKX 4qDLfiPpFSbjA== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Fri, 02 Aug 2019 17:02:38 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by smtp (Postfix) with ESMTP id 94DE413EC73; Fri, 2 Aug 2019 17:02:40 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 5909A1E0505; Fri, 2 Aug 2019 17:02:38 +1200 (NZST) From: Chris Packham To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, christophe.leroy@c-s.fr Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH] powerpc: Remove inaccessible CMDLINE default Date: Fri, 2 Aug 2019 17:02:32 +1200 Message-Id: <20190802050232.22978-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit cbe46bd4f510 ("powerpc: remove CONFIG_CMDLINE #ifdef mess") CONFIG_CMDLINE has always had a value regardless of CONNIG_CMDLINE_BOOL. For example: $ make ARCH=3Dpowerpc defconfig $ cat .config # CONFIG_CMDLINE_BOOL is not set CONFIG_CMDLINE=3D"" When enabling CONNIG_CMDLINE_BOOL this value is kept making the 'default "..." if CONNIG_CMDLINE_BOOL' ineffective. $ ./scripts/config --enable CONFIG_CMDLINE_BOOL $ cat .config CONFIG_CMDLINE_BOOL=3Dy CONFIG_CMDLINE=3D"" Additionally all the in-tree powerpc defconfigs that set CONFIG_CMDLINE_BOOL=3Dy also set CONFIG_CMDLINE to something else. For these reasons remove the inaccessible default. Signed-off-by: Chris Packham --- This should be independent of http://patchwork.ozlabs.org/patch/1140811/ = but I've generated this patch on a stream that has it applied locally. arch/powerpc/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index d413fe1b4058..6fca6eba6aee 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -844,7 +844,6 @@ config CMDLINE_BOOL =20 config CMDLINE string "Initial kernel command string" if CMDLINE_BOOL - default "console=3DttyS0,9600 console=3Dtty0 root=3D/dev/sda2" if CMDLI= NE_BOOL default "" help On some platforms, there is currently no way for the boot loader to --=20 2.22.0