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 X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DBB2C4338F for ; Wed, 11 Aug 2021 21:19:25 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2824261058 for ; Wed, 11 Aug 2021 21:19:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2824261058 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B880182C2C; Wed, 11 Aug 2021 23:19:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="n7DSIA2T"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 39AEB82C5D; Wed, 11 Aug 2021 23:19:20 +0200 (CEST) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 8ACB580098 for ; Wed, 11 Aug 2021 23:19:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72a.google.com with SMTP id e14so4049440qkg.3 for ; Wed, 11 Aug 2021 14:19:15 -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:user-agent; bh=A/teW6hqdIjQbm2qJ4con6GlLsWMMwUQE9ohTspPFNc=; b=n7DSIA2TRhHHVynmlI26KoLBt9OeHhakLLmhg+cdF5u5/3j9s8feZUCbr2Iy8RIyvl +uvnu5MWlTu3pvQCJIBpmVa3MWR253PEI2jYhIlrcyisLP8XFUNSNzPVYwyEUmcNKTa0 faULRmRUHWSq2lWKJ1wafYxrv5k5N8Ze6v1J0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=A/teW6hqdIjQbm2qJ4con6GlLsWMMwUQE9ohTspPFNc=; b=M/2wAaW1wH7Oii3QICMhFmgwE+mkEl2L2Yrtu0JpgyAvRCEpsHHdLqwz2Cbk7hZGvu UuUmeR2svfn/rrp9XLJiWAxk+f/bew4BP1vBbXNsNeicfq02JaLsmR7WZda+9zjRZC5w S/OJbPntGPacifG9vyLa/lujNJ1KZbiDFSKnm3XsoTYwBPUH0qnxl/RrKn5EGbK5y6Pf v1hr5VpUJSQmRoGOXAQqkKaN1qikrQ4I954kpa/YvcCeUe20jW4ZiwLuSILUTlzdVdR+ ksqh5eps95wS6GdYz5An8v1DYOf9Wm5qAjvF+uw0AWfOfD6fzZvX2BxvXG/su5BrtkDG g0yQ== X-Gm-Message-State: AOAM5324xvxRYxE0HCL9UPZ9cOBU97LcUnyLmXuUS6sBfTIePaYTQNWZ L4mpsfdCo69bh/LWZuDYyRfHcw== X-Google-Smtp-Source: ABdhPJzSU4I75ILj+2qHoy9tW2dcBOxWDK+B9ItdZH28nZl52hRJyOczJvthGjaKhOWa7Or9tBgZeg== X-Received: by 2002:a37:a4c4:: with SMTP id n187mr1101201qke.55.1628716754240; Wed, 11 Aug 2021 14:19:14 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-ddfe-3f7e-6e5c-2811.res6.spectrum.com. [2603:6081:7b01:cbda:ddfe:3f7e:6e5c:2811]) by smtp.gmail.com with ESMTPSA id y13sm228195qkj.37.2021.08.11.14.19.13 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Aug 2021 14:19:13 -0700 (PDT) Date: Wed, 11 Aug 2021 17:19:11 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Marek Vasut , Masahiro Yamada , Heinrich Schuchardt , Bin Meng , Stefan Roese , Marek =?iso-8859-1?Q?Beh=FAn?= , Sean Anderson , Aaron Williams Subject: Re: RFC: Support for U-Boot phases in Kconfig Message-ID: <20210811211911.GM858@bill-the-cat> References: <20210809191111.GD858@bill-the-cat> <20210810193809.GL858@bill-the-cat> <20210811134732.GV858@bill-the-cat> <20210811141706.GY858@bill-the-cat> <20210811154030.GD858@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="79m9KipKW65BQbRT" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --79m9KipKW65BQbRT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 11, 2021 at 12:28:13PM -0600, Simon Glass wrote: > Hi Tom, >=20 > On Wed, 11 Aug 2021 at 09:40, Tom Rini wrote: > > > > On Wed, Aug 11, 2021 at 08:26:38AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 11 Aug 2021 at 08:17, Tom Rini wrote: > > > > > > > > On Wed, Aug 11, 2021 at 08:03:00AM -0600, Simon Glass wrote: > > > > > Hi Tom, > > > > > > > > > > On Wed, 11 Aug 2021 at 07:47, Tom Rini wrote: > > > > > > > > > > > > On Wed, Aug 11, 2021 at 06:56:31AM -0600, Simon Glass wrote: > > > > > > > Hi Tom, > > > > > > > > > > > > > > On Tue, 10 Aug 2021 at 13:38, Tom Rini w= rote: > > > > > > [snip] > > > > > > > > I need to take another pass at converting a bunch of symbol= s, to see > > > > > > > > where we're at. Probably the biggest chunk of progress nex= t would be to > > > > > > > > start converting CONFIG_SYS_xxx to SYS_xxx and moving defin= es out of > > > > > > > > config.h and in to something else. I'm taking a peek at so= me of the > > > > > > > > remaining PCI ones now. > > > > > > > > > > > > > > How about we set a deadline for this? It has gone on for too = long and > > > > > > > we just need to drop these CONFIGs. It's probably a higher pr= iority > > > > > > > than a Kconfig change. > > > > > > > > > > > > > > I was expecting that the config.h files would go away and we = would use > > > > > > > Kconfig (or DT) for everything. What sort of things don't fit= into > > > > > > > that model? > > > > > > > > > > > > Environment is the hard one to move out from config.h and in to= , well, I > > > > > > > > > > Well you know my views on that :-) > > > > > > > > > > http://patchwork.ozlabs.org/project/uboot/patch/1382763695-2849-4= -git-send-email-sjg@chromium.org/ > > > > > > > > > > I still think it makes more sense than #defines and I can resurre= ct > > > > > that series if you like. > > > > > > > > That might work, yeah. I just also want to focus on less things in > > > > progress at once. That too I think has been part of why everything= is > > > > taking so long. > > > > > > OK I'll take a look. Other things in progress I can think of are: > > > > > > - drop common.h (could be done in one series if we just go for it) > > > - set up issue tracking so we can keep an eye on these things > > > > Well, all of the DM migrations that have deadlines, and the there's > > probably some that don't still. And the high level size concern about >=20 > Yes, I'm going to send a patch for serial and GPIO. OK. It would be good to know then how many platforms are unmigrated. And I need to cycle back to the list of non-DM migrated boards thread. > > using DM on platforms where dynamic selection/detection isn't a > > functional win. >=20 > Assuming it is about 20KB added (plus devicetree), enabling OF_CONTROL > seems worth it to me. For SPL I would like to see more adoption of > your of-platdata idea. 20KiB is a lot. It's not a huge deal when we start talking about some sort of dynamic detection being useful. Or "we were passed a dtb by prior stage, use and pass along". But there's still new designs where neither of those are the case. And tons of legacy designs we still have users of. But it's also one of those "not right this minute" topics. [snip] > > Ah, yes, so there's two things it does. One is buildman. Two is "spit > > an error out if a defconfig lacks a MAINTAINER entry". The latter is > > important but could be its own tool, and then of course looking at > > MAINTAINER files is how to see what config header a given defconfig > > uses. >=20 > OK I see. The defconfig file seems to be in the Kconfig now...so I > suppose I don't fully understand that. Er, what? --=20 Tom --79m9KipKW65BQbRT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmEUPswACgkQFHw5/5Y0 tywQ9gv9Gq+ueB3ASmcxFRBiXCjMPy6GFtcwieOL7Jp7pi0PWNOusGgQhBHRBXIo 3XYMD4g+ac2j14frjUzSyupdNB2JkHoRvME0qfTIA41+d5k14SYzg04kHw3h6qQi dCTXxwjguB9gTIliFu4xhqaeJxwhqrd5S2V7RKzMcEJiYQd1FL6MPC572+hD2PGt g1sTd7jWJHaBmqwl0Mn+5fM3nfOC6yWmqk6WJawiTZxXtvd0j+3dAFkW/bM7FzFT i6JJyKC46cBvW3YBW03wTXZno0gwGAORb5qRpyjkN/FXtRE9P0/ORaXa0+JvtvC5 uppj39LO3oVTuwZJ5gJhDXh1RaI45klJyC1kD5arn8vvxbKl2y2NYBm8y1U6yzxT DbaAYl5psiQwzYtpM2Ouukymouc87J2rSs3lOAXDECIIQNI2IwZshJL+NnO7Hz+Y F/qdgb/A+SJt6AwwV7pGVt2EbQK/T79iv9ibxKpHXqLKrwnS0mcRHgpI5q2fUGie jK94Hwzk =7FMR -----END PGP SIGNATURE----- --79m9KipKW65BQbRT--