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 E21C6C433FE for ; Sat, 9 Oct 2021 01:43:12 +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 6E52D61027 for ; Sat, 9 Oct 2021 01:43:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6E52D61027 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 4F113836B6; Sat, 9 Oct 2021 03:41:18 +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="A/FFpfOj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3925383625; Sat, 9 Oct 2021 03:40:32 +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 176E38362B for ; Sat, 9 Oct 2021 03:40:26 +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-qt1-x82d.google.com with SMTP id d8so11275599qtd.5 for ; Fri, 08 Oct 2021 18:40:26 -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; bh=54jlH7pBqbHvGNwGlHDCe/qg09p4EGi7t/8uL30IwzY=; b=A/FFpfOjY9CqIftImqTmm4o+U9mYkFgwVvYuOu6a1O2hjZpgFZcqTj3BmYfvWIpcIG VkfYNSN+o7bb9eWMCCj6XndToGZGcqjj/MT1CdzIeBYnR772+iB/qkngq1YnhvF+ECNF SbbHrjxEHXyVtS+Dj9B+8DtBch1jUZekwlidw= 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; bh=54jlH7pBqbHvGNwGlHDCe/qg09p4EGi7t/8uL30IwzY=; b=yoncp9ITYoSJ/qPppVrAsHysE0Ocie0sHrQMSHCK1GXxHUYugMPNUB0b35IYSsYHtC LMXG+Lxj5YgDO7umxy61TKkiV24QQBqpzgtiYEg/uzPPXft6R+8Vj/IbG2CoxumZU/zJ 3YnItSSyNbUt6p9+D+Y0nLsiCeRWbwinUWd0Sfspk9AaVvYEF6+vgjSB8tjqONukvWot WXjgeJSnZn+NWvTPnKZ1Gw8oUA8PelUvvPVj3RUK/ERLOlA3yLJARkdUXxM41nZuzEww h2/hWak36SfotywH7f5oC86EECpMSBO/Q0H29Vm3LfNwTdkUR/UPhYYRg/+EjJQMbLSn l/HA== X-Gm-Message-State: AOAM5303kGtrAv97bHianBo4wslP/HZy6BM4nYCbr9SmmR8qAn1FNX59 fPIPP/wjYgJcn9eil1bbcsxPaA== X-Google-Smtp-Source: ABdhPJw0LRgHdZE8NKK4jXAd4KJVOLRb9nU4mTRfle1c4sQWm8BcYqU34FcdTJ9WxgrfbKNGGu9j3g== X-Received: by 2002:ac8:518e:: with SMTP id c14mr1767907qtn.139.1633743624983; Fri, 08 Oct 2021 18:40:24 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-1c00-ef41-79c3-ef5b.res6.spectrum.com. [2603:6081:7b01:cbda:1c00:ef41:79c3:ef5b]) by smtp.gmail.com with ESMTPSA id y23sm732804qtm.68.2021.10.08.18.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 18:40:24 -0700 (PDT) Date: Fri, 8 Oct 2021 21:40:22 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Alexandru Gagniuc , Andre Przywara , Rasmus Villemoes , Robert Marko , Masahiro Yamada , Joe Hershberger , Marek Vasut Subject: Re: [PATCH v5 11/29] image: Use the correct checks for CRC32 Message-ID: <20211009014022.GZ7964@bill-the-cat> References: <20210926014342.127913-1-sjg@chromium.org> <20210925194327.v5.11.I5ba26e911d0ffff8af74ec113d11a5421b0c009f@changeid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BtLKhN9XZDT5rY4E" Content-Disposition: inline In-Reply-To: <20210925194327.v5.11.I5ba26e911d0ffff8af74ec113d11a5421b0c009f@changeid> X-Clacks-Overhead: GNU Terry Pratchett 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 --BtLKhN9XZDT5rY4E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 25, 2021 at 07:43:24PM -0600, Simon Glass wrote: > Add a host Kconfig for CRC32. With this we can use CONFIG_IS_ENABLED(CRC3= 2) > directly in the host build, so drop the unnecessary indirection. >=20 > Add a few more conditions to SPL_CRC32 to avoid build failures as well as > TPL_CRC32. Also update hash.c to make crc32 optional and to actually take > notice of SPL_CRC32. >=20 > Signed-off-by: Simon Glass > Reviewed-by: Alexandru Gagniuc Applied to u-boot/master, thanks! --=20 Tom --BtLKhN9XZDT5rY4E Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFg8wYACgkQFHw5/5Y0 tywlPgv/b5GyazP3DL4WNJ75jaZqU1b9oBGXaaMK8hxlMgyM/6QoSY0s+i0W15Ev E0q+v/lpEz/tWBQkm7Ms2AdAyn8JY1CAJsrOpfeTQCTMrTF33mWK3BgSV351esVg OHgp8Cnk3wrVqCzt25igx12ClEaYLdS4jVE/gQ9Tsf22UGbACltl5qlKJubGAvQA lf4gueYgBldf0futMOUI2OH+PsZMkcY/roNR8gzS2Sxrjej0XTw+C+vtiY1fsFnK +nba7MS3xG6o12Da0uhGWb1otwzmdEJh0sKtnEMgiIoP6DZW7LOzMrBSUfo/5U4E EEEb8lH72nmX6GAY02UGXuFwbN7Bkg1MKipjLgk8UDjKaEw8XSkaqZNRjziDcA9t RNbJybqAFB/eaXOFgAU2ZhvcS//hxyiX0wuWsyawwrSk8yc2VRgw0Hg16UI4zZGn y5MJLNzhJ07ZyOr7NsPzbnrBgZgkfhqZLGGbD1KkbtYxUZZ0x73K8xiv4VjgNGJk 4FBzjJ71 =eBzq -----END PGP SIGNATURE----- --BtLKhN9XZDT5rY4E--