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 319B4C433F5 for ; Sun, 1 May 2022 15:14:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 68A3283A97; Sun, 1 May 2022 17:14:32 +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="uh8D4de4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6C888839BD; Sun, 1 May 2022 17:14:30 +0200 (CEST) Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) (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 04E30818A3 for ; Sun, 1 May 2022 17:14:27 +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-qv1-xf29.google.com with SMTP id e17so8873022qvj.11 for ; Sun, 01 May 2022 08:14:26 -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=ad3IpGGZaOOwCBEUBhA35E0kqDc62pq/oj0wmKfQmQA=; b=uh8D4de4lhjiFavdTPTHgzbRoWVzg0itkmY+3lDq3lB3h5JVHMtEKNvbx2lsRfn9jF YW6Valj6kQUhpax3tVb9GLlRIz1ULbkGCVVe43w4aeC6YC7dJXqrxyrmq4dXbNMCaKc9 TLwiiTz7EHoWepG1HcYKiiQiPeDn8UeAZSP4E= 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=ad3IpGGZaOOwCBEUBhA35E0kqDc62pq/oj0wmKfQmQA=; b=WyzOFth3JMZixrSEgLU/jK7xFHG9F+83JZJy+nnOQ+IS47zcLeDmojLXeuJ4FQikCt 3Lt0stpg7LKPjj+R0+UQ0Fp1uKXOa6VmHC10T9S9CNI7Pe5WkbkpSPRGTcebARKLthW9 fQYX5x6pxkLAsVd8kT2RQ4U5Vjmxs4nmzFfs3ZGxB/wdR7+IK2gdNtPgu5rBlLjdZ/cd fCPrC+pL0sZ5WJow5IT8ZnLuDu1RD9WemUD65cHM/ChLdFi2l/kEkDLpXFMjQMEOhDwH aRTpmLI62lNy2vaLl92VAt3phxqd+C6jz6WZ9TDzRlfcPSdZvmMH0asazpWRmeuDRlcP SRfg== X-Gm-Message-State: AOAM533wj+sh2iF4HCI7LBbMUdV4wy9xTGZy1Uf+n7vGurf7yqqdB6xY dFR8+unQC0rJfKcVIeujykOj2Q== X-Google-Smtp-Source: ABdhPJyOOUwWR/MpJeMUu53VTXcNWNygUPBRlVQxhP/fRHmBku93WZJ56J6K4yS9llTbH1jSEtw1lA== X-Received: by 2002:a05:6214:d86:b0:456:4ae4:d993 with SMTP id e6-20020a0562140d8600b004564ae4d993mr6672998qve.38.1651418065558; Sun, 01 May 2022 08:14:25 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-4500-bd1b-0659-9336-7b01.res6.spectrum.com. [2603:6081:7b01:4500:bd1b:659:9336:7b01]) by smtp.gmail.com with ESMTPSA id k7-20020ac84747000000b002f39b99f68fsm2750962qtp.41.2022.05.01.08.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 May 2022 08:14:24 -0700 (PDT) Date: Sun, 1 May 2022 11:14:21 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: u-boot@lists.denx.de Subject: Re: [PATCH 1/6] Revert "Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig" Message-ID: <20220501151421.GI1182808@bill-the-cat> References: <20220501142357.16778-1-pali@kernel.org> <20220501142357.16778-2-pali@kernel.org> <20220501143939.GH1182808@bill-the-cat> <20220501144416.hpnnsoulsz6h3ztt@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jnCIwN96y15MEy/K" Content-Disposition: inline In-Reply-To: <20220501144416.hpnnsoulsz6h3ztt@pali> 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 --jnCIwN96y15MEy/K Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 01, 2022 at 04:44:16PM +0200, Pali Roh=E1r wrote: > On Sunday 01 May 2022 10:39:39 Tom Rini wrote: > > On Sun, May 01, 2022 at 04:23:52PM +0200, Pali Roh=E1r wrote: > >=20 > > > This reverts commit c7fad78ec0ee41b72a58bebb61959570eb937ab1. > > >=20 > > > This commit made configuration, understanding, maintenance, debugging= and > > > future development of the powerpc/mpc85xx Local Bus Controller on P1/= P2 > > > boards impossible. > > >=20 > > > All preliminary Base and Option registers depends on other code and C > > > macros generated at C compile time and they comes from the other macr= os. > > >=20 > > > For example, NOR base address and NOR options are set via macros > > > CONFIG_SYS_FLASH_BR_PRELIM and CONFIG_SYS_FLASH_OR_PRELIM. And then b= ased > > > on other logic are filled correct values in to the correct macros > > > CONFIG_SYS_BR*_PRELIM and CONFIG_SYS_OR*_PRELIM. > > >=20 > > > These config options are not user configurable options and therefore > > > should not appear in menuconfig. Moreover for P1/P2 boards they have > > > nothing with DDR driver, so they should not appear in drivers/ddr. > > >=20 > > > This change was completely wrong direction, so revert it. It allows to > > > start fixing issues with FLASH, NOR, NAND and CPLD LBC configuration. > > > In current state it is impossible. > > >=20 > > > See also thread for more details: > > > https://lore.kernel.org/u-boot/20220426181740.o2n7xfg46ytljcdx@pali/t= /#u > > >=20 > > > Signed-off-by: Pali Roh=E1r > >=20 > > NAK. We are not moving things back in to board config headers under > > CONFIG namespace. Some other solution is required. >=20 > I spend time on this and I do not see any other solution. As explained > that commit just introduced more issues then what it brought, so it was > step backward, not forward. So please show other solution, if you do not > like this one. Anything that I suggested in the previous thread about moving to board Kconfig files. Or move it to some other header and out of CONFIG namespace. Or if dtoc (doc/develop/driver-model/of-plat.rst) isn't sufficient today to pull out the infos to use at build time, expand it to cover this case as it would be useful for large numbers of other cases. --=20 Tom --jnCIwN96y15MEy/K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJuo8kACgkQFHw5/5Y0 tyy4hgv/a4sWkbTeYNn2hpMe63/m7L2pUzlkE6uwGhp/pTtm9G2cnIDFAGjejQkB OZcWGxDjNBNKqtIIBGmQWPvhpZzfufdpHIOvVI8wQ327xqv+h5h/zX/13N+anHjA jQi+od/vTd41zEsZpAlh594S7kj7utuj7D8l2QuLuC1+L/cYJ8X7wjpktgyPCVOA X49Lf6/6PNUJfdUGhREC4BlvfheovwFOLJza7tfiQty2WtXe2UpfZGt55Usp6jfH Y7Wh+SaLelTSnvvekK0W9ciRVOnVFEEMSQEjYphT8zLVkNztqTV8hbarOGKBNz2u o2hBegfcN3ct0oFb0u5KJK2QWbhqdAEM0/eDZqi/Kdsl6KDu+BS7FWUlObitPMGD IUxthsu2lzIhAdRXxuFH6GZccqqh40PHFLqgvFWLpofGXXv9yda2fVshanFRk3VC HcdyaJ3lFvKvrY0psLr+X3deKmls0g7792gLNrEsuDfEBox+JPZ3wBKyC86mIqEF LVa+Ff7y =n889 -----END PGP SIGNATURE----- --jnCIwN96y15MEy/K--