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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52089C433EF for ; Thu, 30 Sep 2021 11:31:46 +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 A03A7615E0 for ; Thu, 30 Sep 2021 11:31:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A03A7615E0 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 CCF4881FED; Thu, 30 Sep 2021 13:31:43 +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="UPujhTtO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C639581FEC; Thu, 30 Sep 2021 13:31:41 +0200 (CEST) Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) (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 77F0D82128 for ; Thu, 30 Sep 2021 13:31:35 +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-x736.google.com with SMTP id p4so5405915qki.3 for ; Thu, 30 Sep 2021 04:31:35 -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=R2Xwv1kjxA2ITS+jOOhSr4hgs8oakZNdd0bhXZCO/mE=; b=UPujhTtOISijDmKsfuANoU/qkU53kJzUkQVPlmlbYYdX9Saqm65vb2e1yUGbHPiSwp JLNfHKnRzbmk0z+qPK9EogrD0Atsrv0cHUCm/5VujC/gXzV2C6VzoLW7UbQb7AOQGBsd p2EuZt/Z/CEeO3Tl0oz4DbfqbNjOCXiMeMDXA= 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:user-agent; bh=R2Xwv1kjxA2ITS+jOOhSr4hgs8oakZNdd0bhXZCO/mE=; b=jMwmM5GoR/sFfNWNZk5ocjgKzV/fELkW0MFiERcuECYGoiWLvdPDwYy4PsWDjf1XqH J8UUUH8RplmnYKYPhc1uUlPBQM4EWXUOyTAyiKw9NApxN+lXSir9FWBa2USjfk/Gqy0N OyyNPoVdFOaeP+YUwuj2yJYf1fVac2+nvqL1FxZwVEs/AI/LlH0ZHxniTU+9H5nphcwh y/IbxDfENKus6n6U5xBwM4QSO+t2WO2RwJVo1VgqE8UEjgyKDmyje7Q/f/yTBqQ7AH/u DiiOspVUeYxWJtNWSoBEv01HHy6bnfFo1Vw/cKOdYpqyCJal22US0m1Zl7yIuqxSo/gi AuOA== X-Gm-Message-State: AOAM5338HGn2vUL4H19hnKfBhXyGVqV/A8g1pSRg1E6a1UDlf60pszB4 43+sufWEamsK/UcIN3FfjqqdDg== X-Google-Smtp-Source: ABdhPJwCq+nc5nmS3BnhbFydVFtOvjHJrjWIGzVio+RZTYMR9xV3IFKufIPMKsbUoOC04CI36iRzKg== X-Received: by 2002:a37:bb07:: with SMTP id l7mr4342262qkf.123.1633001494135; Thu, 30 Sep 2021 04:31:34 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-f074-964f-7ca6-ba8e.res6.spectrum.com. [2603:6081:7b01:cbda:f074:964f:7ca6:ba8e]) by smtp.gmail.com with ESMTPSA id p9sm1300430qkm.23.2021.09.30.04.31.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Sep 2021 04:31:33 -0700 (PDT) Date: Thu, 30 Sep 2021 07:31:31 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Heiko Schocher Subject: Re: [PATCH 19/23] i2c: Convert CONFIG_POWER_I2C et al to Kconfig Message-ID: <20210930113131.GU31748@bill-the-cat> References: <20210808182031.3747270-1-sjg@chromium.org> <20210808182031.3747270-20-sjg@chromium.org> <20210904150830.GA13888@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xsHLN+n785SaDuta" 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 --xsHLN+n785SaDuta Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 29, 2021 at 10:08:46PM -0600, Simon Glass wrote: > Hi Tom, >=20 > On Sat, 4 Sept 2021 at 09:08, Tom Rini wrote: > > > > On Sun, Aug 08, 2021 at 12:20:27PM -0600, Simon Glass wrote: > > > > > This converts the following to Kconfig: > > > CONFIG_POWER_I2C > > > CONFIG_POWER_LEGACY > > > > > > They are handled at the same time due to a dependency between them. > > > Update the Makefile rule to use legacy power only in U-Boot proper. > > > > > > Unfortunately a separate rule is needed in SPL to be able to build le= gacy > > > power. All of this can be cleaned up when boards are migrated or remo= ved. > > > > > > Signed-off-by: Simon Glass > > > Reviewed-by: Jaehoon Chung > > > > I'm taking care of this now, but JFYI, this is actually a tricky > > conversion where the "hack print" tool I've posted before is required, > > along with running it with and without CONFIG_SPL_BUILD defined. At > > issue here is that a number of platforms play games with only setting > > CONFIG_POWER in SPL, really but moveconfig.py doesn't catch it. You can > > see this with the buildman size/bloat functions and that main U-Boot > > nows includes drivers/power/power_core.c and its non-DM non-configurable > > pmic cmd. >=20 > What is the 'hack print' tool? https://patchwork.ozlabs.org/project/uboot/patch/1500407318-7977-1-git-send= -email-trini@konsulko.com/ --=20 Tom --xsHLN+n785SaDuta Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFVoAwACgkQFHw5/5Y0 tywAJQv/S+OdEiz3AHOI2D4VRO2fjwy3aoJtqFFJ6taEoE7OIylq61t1qXHtcPLp aU8oEnSsX8x+ye3lQcD1f9ADVQ447Ia+c1nV2fprhvHcCOlHVlL5DAJ4K0zJI/RS isw387gc/kfAtuclWhMGq9SFJU6S3ctL4BvyPIEzBZ2fk5QzrsdAvuTVwMgogYQU KnpwE1NKIdjLAmzriCJcdvw44bqHi0+dGqF9HnY8/auTNsdb24GHTPRHvpaiG76v 4QQh3jfx7+VutefAJ6g5lvNjxV5UhdWywf0SgPJX3jbG5aiUSXewacZ/gx/h2KJh SyDuMGvffN5Wnfqcv+NSHJYOXdlgXdaayNM1RGY2f4/JmdE1JUOMbsQiFd+vAvgm 1jRwEp/5P4bJFuYmuNCY9oNciwlrWiS6/rSqSKaLmDgmNJZKi9wFfFVIvXhtXsjU Pt4GGIpE6AKcz0vMrE6+sORmWkdi76H63HMzQUOBffkjgXTfc4feoP1P4oC/TqMU 0Us9jj6o =dOmb -----END PGP SIGNATURE----- --xsHLN+n785SaDuta--