From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9CE4BC433F5 for ; Wed, 18 May 2022 12:19:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3FEE284285; Wed, 18 May 2022 14:18:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="XxZbwbd6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8926784281; Wed, 18 May 2022 14:18:56 +0200 (CEST) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 717F183D52 for ; Wed, 18 May 2022 14:18:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x831.google.com with SMTP id h3so1403276qtn.4 for ; Wed, 18 May 2022 05:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=BeWJ2ZDqJcC2Ddue/fcpWCcEiV2nY2a6HJ5C2XCIJ/E=; b=XxZbwbd6egEAztHQ+XZtLpuG1fWOVIRNFErvqpzIpg2LOxUNvfgaQwMmJ4Gwh6vLyL q9ZYK136AJ1XCkA4rOpeemlANPMKsS4K9udUs/0h4KAXSfh2Aa8ovtpRVDv2WNuMlfUs AEshSK8Mgo+pE44LUjkHN7Jn/Ebp6zUUYzVCY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BeWJ2ZDqJcC2Ddue/fcpWCcEiV2nY2a6HJ5C2XCIJ/E=; b=eqvzwS+OH2y7Av0iSY6sopLERbC6m+zG+5r2H2qcZ86TWyQHG5YNWDxtHIrGUldSQ+ iF+pCYuvYjbCpWUM6rynNu0pXBqRcm+2sJG/Y+iViFvZU3BmGV68cIqfX6wmXHEc1c8q nm/UljqzOnmiCG/m10W/IArhlRXkQqdtDUXeWWnbtN3VTV6ky0azMu0a/PoJKyK6geSu K8w+3E2Q8DCdFDAxv7yGBnHxqlbYhKqN5r4F+3n+FNLpbvXqfrrLRUzfFtaJvV820q7y n0iiF1vUbyhwAP/4jlGe+tUy8ziRvvRgLUfthIohG/IJZ4Pb9Rn16TPlM8XIstfbr0b2 uGLg== X-Gm-Message-State: AOAM530TEP5Yzu/DbqWVZGgrTDnSWWZdF8Uh9+D0H8/h5LK8ag72WIrN eXRWp7QfgYIxIlhwzW6JsBOqrEwNUwBOzw== X-Google-Smtp-Source: ABdhPJyLPB332M4MGHaiiUpvGxAbilGNJuqFV1ur8lszT4/3M5K1zcCRTRxh4Fwp9NKQxnSgbwuP6A== X-Received: by 2002:ac8:570c:0:b0:2f3:b76e:1ad2 with SMTP id 12-20020ac8570c000000b002f3b76e1ad2mr23768137qtw.143.1652876332228; Wed, 18 May 2022 05:18:52 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-4500-3558-7670-e34f-c790.res6.spectrum.com. [2603:6081:7b01:4500:3558:7670:e34f:c790]) by smtp.gmail.com with ESMTPSA id j18-20020ac85512000000b002f39b99f6a3sm1102912qtq.61.2022.05.18.05.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 05:18:51 -0700 (PDT) Date: Wed, 18 May 2022 08:18:49 -0400 From: Tom Rini To: Daniel Schwierzeck Cc: u-boot@lists.denx.de, Masahiro Yamada Subject: Re: [PATCH] Kconfig: hide options not intended for users in arch/Kconfig Message-ID: <20220518121849.GV3901321@bill-the-cat> References: <20220517205353.2653667-1-daniel.schwierzeck@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gtQMOEXsO+FXsusU" Content-Disposition: inline In-Reply-To: <20220517205353.2653667-1-daniel.schwierzeck@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean --gtQMOEXsO+FXsusU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 17, 2022 at 10:53:53PM +0200, Daniel Schwierzeck wrote: > Those options show up in menuconfig when selecting ARM or MIPS which > is dangerous if a user accidently sets them. This also clutters up the > menuconfig top-level screen. Because those options should only be set > by SoC specific or board specific configs, make them invisible. >=20 > Signed-off-by: Daniel Schwierzeck >=20 > --- >=20 > arch/Kconfig | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) >=20 > diff --git a/arch/Kconfig b/arch/Kconfig > index 12de8a1165..e3e28d0628 100644 > --- a/arch/Kconfig > +++ b/arch/Kconfig > @@ -365,7 +365,7 @@ config SYS_DISABLE_DCACHE_OPS > this functionality. > =20 > config SYS_IMMR > - hex "Address for the Internal Memory-Mapped Registers (IMMR) window" > + hex > depends on PPC || FSL_LSCH2 || FSL_LSCH3 || ARCH_LS1021A > default 0xFF000000 if MPC8xx > default 0xF0000000 if ARCH_MPC8313 But now these aren't user selectable on the right platforms either. Maybe we need more menu organization, and so can have sub-menus depend on PPC, or whatever, and so things aren't cluttered on other architectures? --=20 Tom --gtQMOEXsO+FXsusU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmKE5CkACgkQFHw5/5Y0 tyztxQwAuewf8hddrsBA07xi7w8oRtc8/DFB6uWCdNH+NBt5OB+0TAK1RII/nRB1 qZc/n3/yuz+vW9KsY1McCw6v8QXUNZ7FP1R8hp4nYkGGlG+Z55b7t8BHZZsd6JEj MDZ3d4LEriKhAKg7pr6X51ZlqQNJ27N1I6R75cX1mFmHd/CI21OtwOXHRncRgVGM pfCgns+GokThQYxLNSec/7uFlJLCa3of+YQs1b2KMDGIIBJFNXjgTEa/+7jiAdQW esE96LjwLNNrPTf/3m/j4dA9GHnOBndSh0/xDxs99+Iim8XI6YBm0+WguH8GhX4P RSUSsibU1pfINLbfIfLNBK6fPQe9sLBOBK17jaExUkXRhBTZIgRBn273VmkBu/s2 d+u43zLhOA/1U3yJ1UEVX8m4etSUSP7iVKdwcowKtMEs+g4zzbgl+jyBDLPIAWnP Kw6LFHE/7iAOtoagoWCJM/IqeIJxOpFABV6OZ1TfX2vg/pPEHpRPIjwX4YlXInAL hdLmq15V =R3Ct -----END PGP SIGNATURE----- --gtQMOEXsO+FXsusU--