Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp968276rwb; Tue, 27 Sep 2022 06:55:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ho4BoNTAit+Nr0Q/SN6NTEpgY5LuORuEPq5dC/NoAn1OyFYze7HxWbAWt1K7TLJhodqAY X-Received: by 2002:a17:902:d482:b0:178:1585:40b6 with SMTP id c2-20020a170902d48200b00178158540b6mr27732023plg.134.1664286934529; Tue, 27 Sep 2022 06:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664286934; cv=none; d=google.com; s=arc-20160816; b=GHPqQn65teoV3Ok7wl4BF0XyR6nlrHe71D2N9biKI7yZlCEPRY0B4dwLnY3/aYb22k 5d0K2J3rby5k3d545Hnk3EyGPSEVMHc98W2rGjaSzshdNWQ/8HAtX/6WNqF/sRDuBZQO M2LSMD7Yvio8m7IiSKPkV+jqCksZyCMNpfZ0gxDNv/ABwkqZKTeKnCScN6ZPyiglIeX7 TYFtn0MF2b9kmtP/Wkf2FrhaVCr17jo7neeGzEhpXk3XEtTzRf1IwGDQvlLxWk36vGUw plHxh9HgfwMg0ODhSfdvr/OOUI9bnUjtk2HQWvv8bcMflN2+30+8XGavL+ZvdtLmCleH 7dkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=coPTnsdKR7Q3YWOw6pkKL8/kUwpJm7tKi4TlwFMZG9k=; b=jw2AJhon3Orbfi7TYsUbGarHV48KRlsA6H+48XlcrE7tC5LBeI2YfY7fRCcCRlD0oz lbKDZtnDZrI1sRTof6Xbph63ntLxnVmsDGOUGNal0EaVAUpBfnZzZI8X5qeRm0bwegWc 4DrwrinPngDzx8Y58yxV4kD42mKGvzNoOoRJDSNcU+5BgZ89BBDiQvmVMfs0qW9Qyi8r 7PlnbiPv03Vx6YvtME27czSpln0/N+0HLQHKHH7mLn5HmGcZdJUoh8AbL3SrOFuxbC/S 4AagomKpt14u2jSeC6nSofmNS0Kw39+AJoDw15SMFh+EonT/2/YJI8znrUuulie8bubQ x5og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020aa78a50000000b0054875fd979bsi1882902pfa.216.2022.09.27.06.55.22; Tue, 27 Sep 2022 06:55:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232506AbiI0NcJ (ORCPT + 99 others); Tue, 27 Sep 2022 09:32:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229760AbiI0Nbf (ORCPT ); Tue, 27 Sep 2022 09:31:35 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96624550BA for ; Tue, 27 Sep 2022 06:28:31 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:d95b:5c9b:4085:7c0d]) by albert.telenet-ops.be with bizsmtp id R1UV2800P3Qogd1061UVXX; Tue, 27 Sep 2022 15:28:30 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1odAdR-006Qbr-Ci; Tue, 27 Sep 2022 15:28:29 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1odAdQ-000v4T-UF; Tue, 27 Sep 2022 15:28:28 +0200 From: Geert Uytterhoeven To: Arnd Bergmann Cc: Russell King , Linus Walleij , Ard Biesheuvel , Russell King , soc@kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] ARM: Drop CMDLINE_* dependency on ATAGS Date: Tue, 27 Sep 2022 15:28:26 +0200 Message-Id: <09f0619e8038654d01588d9ad3a023485b2bd77f.1664285209.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On arm32, the configuration options to specify the kernel command line type depend on ATAGS. However, the actual CMDLINE cofiguration option does not depend on ATAGS, and the code that handles this is not specific to ATAGS (see drivers/of/fdt.c:early_init_dt_scan_chosen()). Hence users who desire to override the kernel command line on arm32 must enable support for ATAGS, even on a pure-DT system. Other architectures (arm64, loongarch, microblaze, nios2, powerpc, and riscv) do not impose such a restriction. Hence drop the dependency on ATAGS. Fixes: bd51e2f595580fb6 ("ARM: 7506/1: allow for ATAGS to be configured out when DT support is selected") Signed-off-by: Geert Uytterhoeven --- arch/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ea8adbf25651438a..68923a69b1d41188 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1599,7 +1599,6 @@ config CMDLINE choice prompt "Kernel command line type" if CMDLINE != "" default CMDLINE_FROM_BOOTLOADER - depends on ATAGS config CMDLINE_FROM_BOOTLOADER bool "Use bootloader kernel arguments if available" -- 2.25.1