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 E9D7EC433F5 for ; Tue, 28 Dec 2021 13:01:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E659F839EC; Tue, 28 Dec 2021 13:59:07 +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="p8BoJ7Fs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7F0EE837DE; Tue, 28 Dec 2021 13:58:11 +0100 (CET) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 B0402838AF for ; Tue, 28 Dec 2021 13:58:07 +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-qt1-x82e.google.com with SMTP id p19so16023208qtw.12 for ; Tue, 28 Dec 2021 04:58:07 -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=OaFzeS69UocTpZCxQMBI4uU+XmIridJfC8uV5Sd+oEI=; b=p8BoJ7FseF1ygbCe6Fmr/zJsUYgztVEcSMynGrSR7bDLjjPnJkRWidfeeGhasNtc3q KLhyspJ89mNIgtuppmfXwpG6skyulYL/c9LNVY3HI844z3IZlhmdA3Oezyaz8l5pg9g7 2qIiloBju3jQIYs/TjbJFhmILb3HuoUWE4hBk= 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=OaFzeS69UocTpZCxQMBI4uU+XmIridJfC8uV5Sd+oEI=; b=LlRXeQ4PkEVx/ongoZs1koNSoZBQAHSb7ldBY7QP55aFKvZJcRQCIbKwBt93QxiMpu KCx2g7j/2/lkki3W5qxO1wLJbMHHGCwMEuWGQxn7U41xV9yIzbUAsyW1xxEil4VPokqx soCl0CIPocZJb0R+8SaTmfnfU1r0DA60ttxbxdFvgU68wwaWER93lrGeDCYE+vVnRSs0 5pqaYDVP+SCkb+h0iBAkGBJV2KH0VfcpthLzveAgM8RZepj5pCbec7iZYBm0/h6EDLQL zpGGFhmeX0V8lFVH8ipXl+9G2RTUaLta0acitqvHI+o/OrvuAC/kaH54rgMSjpf7diU6 Lygw== X-Gm-Message-State: AOAM533qh06YEAzFpyIaWbwLcPS9M2Bqz7bCRcX6d4A156mDX7RgO0GV RAdlYaUuy57JOpPVnG/63iZQrx1aJlTKGQ== X-Google-Smtp-Source: ABdhPJwm4pTHlZr8M0lRtTy5oh1QhwqwBVbMl/afwLtPn0XE/iYA4KdbWIEhaETfcPxgfKjRjZ5reA== X-Received: by 2002:a05:622a:1a0d:: with SMTP id f13mr18518403qtb.468.1640696286351; Tue, 28 Dec 2021 04:58:06 -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 h2sm15699049qkn.136.2021.12.28.04.58.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Dec 2021 04:58:05 -0800 (PST) Date: Tue, 28 Dec 2021 07:58:04 -0500 From: Tom Rini To: u-boot@lists.denx.de Subject: Re: [PATCH 8/9] Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig Message-ID: <20211228125804.GL2773246@bill-the-cat> References: <20211214183641.1877371-1-trini@konsulko.com> <20211214183641.1877371-8-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="33c4aGQrRAPGVH9y" Content-Disposition: inline In-Reply-To: <20211214183641.1877371-8-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 --33c4aGQrRAPGVH9y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 14, 2021 at 01:36:40PM -0500, Tom Rini wrote: > In order to finish moving this symbol to Kconfig for all platforms, we > need to do a few more things. First, for all platforms that define this > to a function, introduce CONFIG_DYNAMIC_SYS_CLK_FREQ, similar to > CONFIG_DYNAMIC_DDR_CLK_FREQ and populate clock_legacy.h. This entails > also switching all users from CONFIG_SYS_CLK_FREQ to get_board_sys_clk() > and updating a few preprocessor tests. >=20 > With that done, all platforms that define a value here can be converted > to Kconfig, and a fall-back of zero is sufficiently safe to use (and > what is used today in cases where code may or may not have this > available). Make sure that code which calls this function includes > to get the prototype. >=20 > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! --=20 Tom --33c4aGQrRAPGVH9y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmHLCdwACgkQFHw5/5Y0 tyySswv+MbGFpokosRAhQBs1eg3EcwTE4aYMjvo+u/R3z3T5sgcHP9kMyhrZPgrl UFVVXpPKF6R2jVEo+liFnBORoSlnICihBAbriya0xpNjaniRfPilrs97fyrSbWYn AOhUSO0eiZC0TurBREyZaYR5dNfFDNrQfAVijBaF+dqFnzlbRIhau5IuM8Iz99g6 +/42tlHk5uVSndV5K8w5LL+QAIULRYXQUo/3FXZqulOdnmY+jDHcviWA8A4v6hRL k1DMW2ExeObdzUeal0fVBf7m9SUZFp1MvZdAUYN7Y7VHzllsICLGWstqbdGmKjDZ +aO1ob3rzUAvpcKDZp5zQkY0/KO/+wp+w7gdNSwt5uLm+HQF7gVMTnG8LqoOW5ea 9t8SeGGEe9X6dwkvSs02jQr6b0xtREXxil5ls95qCmEQ5ewo+psUsvuNsahQCn9p yqgPnnmyfgl/PumNcFg13Uqa1oGHv0bJBIf1M7bTKd3xGLDR+GBoY6xUKodTzQrw QICKEEkp =OeMa -----END PGP SIGNATURE----- --33c4aGQrRAPGVH9y--