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 65C93ECAAD3 for ; Wed, 14 Sep 2022 18:50:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3448784B15; Wed, 14 Sep 2022 20:50:00 +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="Kn87Jba9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CC04F84B15; Wed, 14 Sep 2022 20:49:57 +0200 (CEST) Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) (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 37A1E845B3 for ; Wed, 14 Sep 2022 20:49:55 +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-qt1-x82d.google.com with SMTP id g12so11516130qts.1 for ; Wed, 14 Sep 2022 11:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=XAgrr3aIP7l/OOQNbZ8TyzStcoaINiTGP7K1Dg6dG88=; b=Kn87Jba9iAykx0n2ieuABhXbWVRVB8HFAI5+42hyPtlNozBI04O17sgg97MpOUSqQO 0pDQp5XP33jQeFG9p9EOhvXx9/36f0zu6Xb4NniVwZpz7cnJfQE9pz1GLoqcPCTlXVZc /8egaDLBFQ/gHAhAqGaZRfr7GSCwapKtJMCjU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=XAgrr3aIP7l/OOQNbZ8TyzStcoaINiTGP7K1Dg6dG88=; b=dDhCxrRhGVuceLECHEcZIBPrN0vUoUxal6hgNH9lqin/maerpOf4+WBX70m2/Qjyv0 nEHMQua5UNkc1XPl9ifTLtco24xTHyTGOEDe5V1k2g5ESZLeTBO9/tgcZG0jKEhvA/gH FgQhNjgkkLdcGHo0LMRcgVZQUmUx7DBDsMvCGFbUUaj9d0O6BvJfwW5RlQtFdALaVFZo m06jXc9TCqz6s9eLMHpEY/9Ey8jz9p5sZCMZikoKFu2UgfLww+RLK39yQemvJigsjRFh 49dUY6/OlX+7TQdt+Mw5l1W70j7pNSKQeIAvoQp+pLBGCBVpfyS49fMEH2aONinmF7P+ 5xig== X-Gm-Message-State: ACgBeo3Zwbb5D4YwEJG1HirxBIlwiJgzuubCxN7luVaNsvwsxwTIcy7D wZz7+gIUzG3IUWDv9dl+9yPUHg== X-Google-Smtp-Source: AA6agR7aCMlgGLcCX3s/f09YxmyuUkVJUn8aG/VItKoO0DlAr0JIP+cSnqT0JZ55AA/LqxFdNvuOAg== X-Received: by 2002:a05:622a:14c9:b0:35b:b744:a7c8 with SMTP id u9-20020a05622a14c900b0035bb744a7c8mr12898237qtx.570.1663181394065; Wed, 14 Sep 2022 11:49:54 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-6011-212c-4988-e1af.res6.spectrum.com. [2603:6081:7b00:6400:6011:212c:4988:e1af]) by smtp.gmail.com with ESMTPSA id bw5-20020a05622a098500b0034502695369sm2032687qtb.54.2022.09.14.11.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 11:49:53 -0700 (PDT) Date: Wed, 14 Sep 2022 14:49:51 -0400 From: Tom Rini To: Ovidiu Panait Cc: u-boot@lists.denx.de, Holger Brunck , Marek Vasut , Michal Simek , Rick Chen , Simon Glass , Wolfgang Denk Subject: Re: [PATCH v2 1/4] common/board_f: remove XTRN_DECLARE_GLOBAL_DATA_PTR dead code Message-ID: <20220914184951.GU6993@bill-the-cat> References: <20220913183129.14184-1-ovpanait@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fz0LNKsoEivY4NpG" Content-Disposition: inline In-Reply-To: <20220913183129.14184-1-ovpanait@gmail.com> 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.6 at phobos.denx.de X-Virus-Status: Clean --fz0LNKsoEivY4NpG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 13, 2022 at 09:31:26PM +0300, Ovidiu Panait wrote: > The XTRN_DECLARE_GLOBAL_DATA_PTR declarations in ppc code are permanently > commented out, so there are no users for this macro: > #if 1 > #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r2") > #else /* We could use plain global data, but the resulting code is bigge= r */ > #define XTRN_DECLARE_GLOBAL_DATA_PTR extern > #define DECLARE_GLOBAL_DATA_PTR XTRN_DECLARE_GLOBAL_DATA_PTR \ > gd_t *gd > #endif >=20 > Remove all references to this macro, but add a documentation note regardi= ng > the possibility of using plain global data for the GD pointer. >=20 > Signed-off-by: Ovidiu Panait Reviewed-by: Tom Rini --=20 Tom --fz0LNKsoEivY4NpG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMiIk8ACgkQFHw5/5Y0 tyz4awwAgnJyJFY7TLkc5BTLL3sULk4qRJ+WW5yz/h/oeNgHys3hBlCxacm/THvf 0WDFOh3Y+B/pAJ5JEg+AiIAVkRnUSY4JnUZSlPKMqgnRb7Wq7LTCj3ZWnJGKjSak 3tIbqW/QhIFpN5fB8wbyvllYFaYkX9m2oX0VQmz4vwpXTL6Gk67jID2zM2ZvJTa9 dYJpVIVmIVlL1la4fE3AeCC7vU7oy7oLMgZJJp488xzrYYTaB1UUWncKxwlgo74m 5kut8gdXJjQh0BtMO468o71RVTMmIyaggY4Qkr/lbkX43+NvCoeQicHuax2mM3T9 Z7LlMqLK50y9gu6mnF7Y6DwoyVFOhXAlMbBTCaBTEir9SkSe6Vy1mGxbBXXC3UP0 11AihAxZrjK29G3NJkjlFkdPHVJjlCc+XT+yvJaa2pQn0i4Ggm+WchH8jwI+He7s OvyXRMWPgwqj5wJ0bWkuYvvpo+CTVowmhEqE4aXNagvXJGD/OYGsqoxL4xg/xUpB c9Q/OjT7 =3VlI -----END PGP SIGNATURE----- --fz0LNKsoEivY4NpG--