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 CE05CC77B7C for ; Thu, 11 May 2023 19:31:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5972F861C5; Thu, 11 May 2023 21:30:59 +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="TbhjUby5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CA31D846E7; Thu, 11 May 2023 21:30:57 +0200 (CEST) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (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 1035E861CE for ; Thu, 11 May 2023 21:30:53 +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-yw1-x1135.google.com with SMTP id 00721157ae682-55a10577911so131425697b3.0 for ; Thu, 11 May 2023 12:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1683833452; x=1686425452; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=rtsiGmQPAsOOYsiKIdgO7A+sSmlIb1cjtJWXnv+raHs=; b=TbhjUby5SJJbJmxMTU65WTJSSuRs12xYEZMfBdVmOyVIWOcvtWDTwFhLcQhIpUMF+R U0gelAQ7W1GbtLdQDoNEoDAme+z5VToEqJsAw84cnc3wATsqxz+jf7+mh37U+gtmZX2W z204wDChq1aVCaOsDMFTmwT0GhADYb9BQS4Uo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683833452; x=1686425452; 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 :message-id:reply-to; bh=rtsiGmQPAsOOYsiKIdgO7A+sSmlIb1cjtJWXnv+raHs=; b=ITjO0tGOcv4ksgvyJhGBGLFuiwtNW5jZ8jDZrLh4RBHskDE9rrw4CTGf0G8raJjZQ4 F2Ohmw+ThPcFvLcyS52ZUzBZml52pFI09QMF7ZKcvEdJA6T6dpWBMBf/WebSRmTmaalz HuueFzCFQScQQ56iE7fvO4X53UIF72/KVfuV3NHO5wSSvZwLfvSNZgyVKlHTh5Uoe5S7 ms0LU5Open7+0m0ba6mQ5i9H7FlSQuIttchY/VCql5PkV5cQZQGHq2ZrN0pVQkkn2fTb sTiBa1NS/DOivs61I7nflVZINbDVizmF0/Nj3WHxiuaj36yQkIemroKrKhDpYEyVl63J w25A== X-Gm-Message-State: AC+VfDwIGY3zp1ZEjBnh/zKw7Op2JMDXRS7gV+/Cyv8M8BUJUmq7Fh1E +bFhbi5Oi9lUJMg3P2ihZcLRwA== X-Google-Smtp-Source: ACHHUZ4YaOFOS1KUMQcXFAM9vShF5oBYsREYdhVL0PxVMo/bwFqeRLA2vQNATH+07u5hVAyL1rBbIw== X-Received: by 2002:a81:6cce:0:b0:55a:52e3:8dbf with SMTP id h197-20020a816cce000000b0055a52e38dbfmr26174574ywc.40.1683833451813; Thu, 11 May 2023 12:30:51 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-f28e-c97c-cd14-627d.res6.spectrum.com. [2603:6081:7b00:6400:f28e:c97c:cd14:627d]) by smtp.gmail.com with ESMTPSA id c68-20020a0df347000000b0054f83731ad2sm5149731ywf.0.2023.05.11.12.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 12:30:51 -0700 (PDT) Date: Thu, 11 May 2023 15:30:49 -0400 From: Tom Rini To: Troy Kisky Cc: sjg@chromium.org, u-boot@lists.denx.de, gary.bisson@lairdconnect.com, Marek Vasut , Stefan Roese Subject: Re: [PATCH v3 03/23] lib: crc32: prepare for CONFIG_IS_ENABLED changes Message-ID: <20230511193049.GA2398826@bill-the-cat> References: <20230313213146.1775650-1-troykiskyboundary@gmail.com> <20230313213146.1775650-4-troykiskyboundary@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="64kzVv240EQwdskX" Content-Disposition: inline In-Reply-To: <20230313213146.1775650-4-troykiskyboundary@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.8 at phobos.denx.de X-Virus-Status: Clean --64kzVv240EQwdskX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 13, 2023 at 02:31:25PM -0700, Troy Kisky wrote: > We need to include in order to include > files that use CONFIG_IS_ENABLED. TO prepare for that > be more direct with using defined(USE_HOSTCC). >=20 > Signed-off-by: Troy Kisky > Reviewed-by: Simon Glass > --- >=20 > (no changes since v2) >=20 > Changes in v2: > - delay include of linux/kconfig.h to do from Makefile > - as suggested by Simon >=20 > lib/crc32.c | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) We end up with two problems with this (and all of the similar patches) which is first, evb-ast2600 stops petting the watchdog in SPL, and then the CONFIG_IS_ENABLED macros in host tools makes clang very unhappy. I'm also not sure that introducing PET_WDT makes the code clearer than it was before. --=20 Tom --64kzVv240EQwdskX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmRdQmkACgkQFHw5/5Y0 tyxaAwv7BcPb+jFfqkZnEts+hN0R/F1qh1+Op8vl95A0ZuAuPoNbub+Nai6LKTcZ FphAQkGYndt0+GiucKlo8CKGIpfoeGmMnHs+K1Y+Y/5ecpRke0IYkJnWjo+79/Ln acFv4Ri5N7yxEpBW46PCp1UK0Rc/5kT8+VzZ7jpdMR7NfQKVG480Svd5rfHxxEzo 4E42ajRUKL9YUn95Q9D6uPIWxqFSupliVYKmjlCtUcEzAhXbMgEfkU+innv305Wo 5vDJPznsz5WPq5oZwBsJQPHiKfxufyz1wMeY4FVSv9q998BdlZcyyNt55TITflmt veNoXhZVeP73CgksZIoUA3EzsIJquUSU6py6vskd8aPFWGLnu1v7f6wM3B2g5QwO s6Luo2oH7+EJeubf0w6Amf0wYNuhApbUJdDLXRvuc18wqdhZd2p7Ou+C+TgQSr2l AaJapcLAl86ZuzsGmTHkr5DOTEkwnZwmVqPcw9itsOCbEFEZsACrtrLTygGXPtul H4+CQnDw =Mdd7 -----END PGP SIGNATURE----- --64kzVv240EQwdskX--