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 53E2DC433F5 for ; Sat, 9 Oct 2021 01:45:20 +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 D333C61027 for ; Sat, 9 Oct 2021 01:45:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D333C61027 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 2C884836E8; Sat, 9 Oct 2021 03:42:32 +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="VNg0gWRm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DEAF98369F; Sat, 9 Oct 2021 03:41:41 +0200 (CEST) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 591A4836AF for ; Sat, 9 Oct 2021 03:41:34 +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-x834.google.com with SMTP id i1so10109489qtr.6 for ; Fri, 08 Oct 2021 18:41:34 -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=DCY0cxIYUAcKUctfnZeKrgMkIva1m+6ciW/pbXeiaG0=; b=VNg0gWRmIn1bxGmLvhAiuCrNJvXaSCH0Onw2V09vJ2wqDfOw5FnU3tGOp3uLdCArjN qzGpIT0ZlDvEkQQjGoz/K8l8pqSJaeIjUgmBgESW0/2D+SbGysgeclewTCq2aFsesx5P Vc/9P5aIldEhgY6ItqE5LhP7B6oPULsci1DH8= 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=DCY0cxIYUAcKUctfnZeKrgMkIva1m+6ciW/pbXeiaG0=; b=rPsmTeOyISpEsJMR/IsAc4H63kJM+xkFAXhMCfh7KrkdBsptr0Kt8fH8r1zdo6m5cP 57/kxnv5LptSiUJT3W3P/sX8LG6c9LBsANfY5MLG+Bj3e9Q6UIPU5PddvNHItSsUXstn XJyyzPmTZ7omg9HkJkJzfIXwSX1YQEclvawwhT1yGUktlG57oc+dSscVAe5NqC+2WN3E mBhP4cKWLeul7lQa1s/sLcg5PT2tUDDE/SJYDpurmwJD1o9uS2fgWc8gQxbl87NqKBUL zv71yFPSgle20Mp09ZXGTm973/LjeghRJqXpdTTWQvPVnR/BlV31o8FlIVSzHY05mNs4 KyIA== X-Gm-Message-State: AOAM5305w98Mwr9SRIHIZ9pvpAhVUODpBztsxHsdZ8EO7op7dy7zhcfr 7DA2p1vJhce93ofQ7q+tPhH0CPl/hyfarA== X-Google-Smtp-Source: ABdhPJw9Ry2Z6Fp93EvXk0UWXf1b1BrCSh6TrQSss0eu2/8H3Y9D9j0/1Es9CbSf5amZdjl2OxsSyw== X-Received: by 2002:a05:622a:144b:: with SMTP id v11mr1813744qtx.320.1633743693247; Fri, 08 Oct 2021 18:41:33 -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 x6sm712915qts.79.2021.10.08.18.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 18:41:32 -0700 (PDT) Date: Fri, 8 Oct 2021 21:41:30 -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 25/29] image: Remove #ifdefs from select_ramdisk() Message-ID: <20211009014130.GL7964@bill-the-cat> References: <20210926014342.127913-1-sjg@chromium.org> <20210926014342.127913-19-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZP5/UaesXwhUwRsu" Content-Disposition: inline In-Reply-To: <20210926014342.127913-19-sjg@chromium.org> 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 --ZP5/UaesXwhUwRsu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 25, 2021 at 07:43:38PM -0600, Simon Glass wrote: > Use boolean variables to deal with the strange #ifdef logic of this > function, so we can remove the #ifdefs. >=20 > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --=20 Tom --ZP5/UaesXwhUwRsu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFg80oACgkQFHw5/5Y0 tyywDQv/ZU+y4WppqywiPDT2dt7Vbb/7svaW0L9i41WN3Ky3KH4vE8Om18ttyvYX kk+htuOVsrjkt14ozhu94LNrjr8KovMXKesFn7/IRrOUeqzweu/b3FvXRjLeQ4VD 4/bXa4NMTItGy9unJI8dxCNDwLpGEi/aBLYxb4ppqqtA3BT5hF/6cLXooIOFhSD9 8/QCL6vNDph8YbcTaERJ4ALzvZi9L5CKTL09jqbiEQihALqP9MuCPS1JKzStUY2M i+m3t2YWhCuzmn0nZKZ7GkFmwddFJpj8KJt8msVJGLYQ6RRFp2Zmzf7JrLHoZGfd Bkp03n/0P2RcrYnGSV1QyImWwxOgtzdEAMS0SNkecrQ9nBnO1XaxKYXwePT+VFNc S0DzOGCbpudUjBg6JWe4LBHg6m+uKHEx1lC1hYN3TtvaM8cbeNoLaBlJFvZRi/kd f+Y17FcaAn2IJkK88PYPKbxFmboPNgpbh8XOiSBMLZ3D/a7LMnOnwn4B0YLoq3c5 kJjPY33Z =wgQu -----END PGP SIGNATURE----- --ZP5/UaesXwhUwRsu--