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 4DF45C433F5 for ; Tue, 28 Dec 2021 13:00:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4BAE883910; Tue, 28 Dec 2021 13:59:04 +0100 (CET) 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="Z7XZzhct"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CC99083892; Tue, 28 Dec 2021 13:58:05 +0100 (CET) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 2C0A88385C for ; Tue, 28 Dec 2021 13:58:01 +0100 (CET) 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-x733.google.com with SMTP id i187so14905575qkf.5 for ; Tue, 28 Dec 2021 04:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=vvN1aOHtwbRsjncDBCG3p9W9ccDVNzGQJ0SmXQEpFGg=; b=Z7XZzhctbS7Ly6a6F1rCbMdPKQE7uzhheJPuY4IvTRp+o+zwApEQjO3KlyKTE6djdR ZIx4rxjEcbTc3lBkBW7aMcOoq9bGX3FEP8AdLqqG8GdL1NQM79Ji77Qu91bEDTDrqMvs lOZraqeGKITwHJ6cHv9D0EFj06AZr3nL3bbWk= 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vvN1aOHtwbRsjncDBCG3p9W9ccDVNzGQJ0SmXQEpFGg=; b=U8IcfH0LQHOaiOjcWYdQHkbSQwJGCJSQpoDH6/jV8KT776j+3ZO4HYI1WYKVFpIO6V C8Q4gnHYFafLdaKegL3hFDHPGPMlHRSKFibmRu4T9uiLpoMYik/RYmovlMBsIi/CTj+Y FAyKdUk/7Bc/JCRfm8CTGaEgUE1uxupFzwm6bersouu2WJHAaA+vU3qyULtvQFmftlBn pkS6g95pVTW5DqgSn8cI8myA8taoVUl2FONEtFgpFU+VLeFJLyhW2WhW3t25KMk/ZAFn YG3jq7mKJ4WX621KbR0xGMwjxbfXBwzHdTdLYSYf9qUgY5OE5bCynio6kFJXPhcKgEJg +luA== X-Gm-Message-State: AOAM533xv5m/m24iBNBt9jsM7V3egy0o2A3+vJNYmaclJhj98lyCJDYm M3ZFVCbD18onyQQ7ObAKX6WcKfCiptTcrw== X-Google-Smtp-Source: ABdhPJwIBF3oQ3i/5v01G+hgOOEK6S0iOPna8u6XEb+EPCgu2FgCia1EJUCJkYFIFRj7C48f2MBF7g== X-Received: by 2002:a05:620a:40ce:: with SMTP id g14mr14860701qko.236.1640696279857; Tue, 28 Dec 2021 04:57:59 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-28e1-62ad-aeb7-bfd0.res6.spectrum.com. [2603:6081:7b01:cbda:28e1:62ad:aeb7:bfd0]) by smtp.gmail.com with ESMTPSA id f12sm15108253qko.46.2021.12.28.04.57.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Dec 2021 04:57:59 -0800 (PST) Date: Tue, 28 Dec 2021 07:57:57 -0500 From: Tom Rini To: u-boot@lists.denx.de Subject: Re: [PATCH 7/9] CONFIG_SYS_CLK_FREQ: Consistently be static or get_board_sys_clk() Message-ID: <20211228125757.GK2773246@bill-the-cat> References: <20211214183641.1877371-1-trini@konsulko.com> <20211214183641.1877371-7-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7QTDVAgpgOXqPYyV" Content-Disposition: inline In-Reply-To: <20211214183641.1877371-7-trini@konsulko.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 --7QTDVAgpgOXqPYyV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 14, 2021 at 01:36:39PM -0500, Tom Rini wrote: > This CONFIG option is used in one of two ways. The first way is that it > is defined to a static value, of an unsigned long size. The second way > is that it is defined to something, typically a function, to determine > this value at run time. >=20 > However, in a few cases that function returns a static value. Change > that to using the static value directly. >=20 > In the case of using something at run time, convert everything to using > a function of the same name and prototype. This will allow for further > cleanups. >=20 > Finally, we have a few cases where the function is just not used, so > drop it. >=20 > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! --=20 Tom --7QTDVAgpgOXqPYyV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmHLCdUACgkQFHw5/5Y0 tyxTuQv+K90je6gnbXN2dkWh2LWaNI4Qs6nXYYXA5AYsMnBOGtPc1t/8XWeh1m+I BXuLpKtSY0ZkMCoIHRotDTLKp7TMJY/lg0AcxuhA+LWviZRMmi325KY4nTh7weak BWG3fVq0vvhljmSf7w/78QQ0WZlcQFAzeNoK2AhdmtLqGmjFt2BZvHnWJD5NRTzZ /K+Sh+ti315eXjr1Dt86L3cjBIIwAfXcCKW2ba1Yc8CnHky9jvx2TXabZLZuNyj1 dJ+qH+MSObxybA7bb0p6DBpvGpogBdF11q/Vg7+56IXfypYbFaHrAPZcPrkiS7qu 1piYBStnLz9sF9jx2QBwM2eMAL5FaXaXuGkUR4fpu8U2nznEeoZpgKmKzs/nUsEp mnguvezGqpqDGQZMNkco1YSppD7DeOuJBevsaU0fNpPE0pezxDXl5aK7s2YCRU+S 08GXGKO56xEiXA83X0vSfVt9J1KWfGW/5vlYO3HjCK3ZjCn5zopxdfz2jeliBoO5 naZUe+p0 =VHeL -----END PGP SIGNATURE----- --7QTDVAgpgOXqPYyV--