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 47B44C433FE for ; Fri, 5 Nov 2021 19:40:15 +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 52A9161101 for ; Fri, 5 Nov 2021 19:40:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 52A9161101 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 D586483742; Fri, 5 Nov 2021 20:40:10 +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="i8c/+Kmb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9763D83735; Fri, 5 Nov 2021 20:40:03 +0100 (CET) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 929DA8372C for ; Fri, 5 Nov 2021 20:39:57 +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-x836.google.com with SMTP id w9so3065423qtk.13 for ; Fri, 05 Nov 2021 12:39:57 -0700 (PDT) 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=cF+HYXed4pgKhQlaMDnPVqZfklzZgsqauAgm4076w4M=; b=i8c/+Kmbu3Zg/pA2/HCq92JrXbtKjSCZR/fw+vK/Ks8OOlPZJ/fjdZuarvTWoifzSR sERMRDO0bvwSNINesEYynmisCQGavPjgfB9c1AYecE2cEBsSwyJa5T8j5mnHKjy4H7KM T2g0yZmqarBaySQnYW0wScijs19ENCm/lGuxc= 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=cF+HYXed4pgKhQlaMDnPVqZfklzZgsqauAgm4076w4M=; b=YUUesgZKu6A2nGHfW+TLeK9h6hvV4jedmp+93SztjyzQdDQWAkXVICtVBL4wGllkTk dcYyFi7iYQmTFLXuzjz804GWOlkYsoZ9+UAGie3BGTOxXNcyAL4dpiTyp2aipPBAjqW2 eOSa0suYEpEVHqLGLBXi2zwcj7IS21NwCJzHmiGu0no/uSgU6khqN+wS1jSs2zNhMylL yMBxQu5Pch04DTURewD3t8W/MzCxULweWiEMFh30R2ijUCbpf4GodSpwDK1W3ZGgZxc6 PS0bwbQOKnckOMWdMaG/j0jSTXsOi/E+nV0Rsy4soRbrB+a4Bu+myrvYh4D5M8c37QWz POUw== X-Gm-Message-State: AOAM531xibFaKw5oFhkoQQmLksl5eB/tkR0304CoUfJNmbcuVos8B5w/ OAxNBYazcz96m7KmMKU5iMfVeNGxeRWXiA== X-Google-Smtp-Source: ABdhPJzJQE1B6DUraElAOpjF2niwjoXnwyBSZ0ReRnMoqlTTxm23C2guzZV0PpTH5Dy0o7ViujapUA== X-Received: by 2002:a05:622a:1d5:: with SMTP id t21mr35666700qtw.382.1636141195926; Fri, 05 Nov 2021 12:39:55 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-dcf7-3600-6b4c-294c.res6.spectrum.com. [2603:6081:7b01:cbda:dcf7:3600:6b4c:294c]) by smtp.gmail.com with ESMTPSA id p16sm5937294qtx.92.2021.11.05.12.39.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 12:39:55 -0700 (PDT) Date: Fri, 5 Nov 2021 15:39:53 -0400 From: Tom Rini To: u-boot@lists.denx.de Subject: Re: [PATCH 01/10] spl: Make use of CONFIG_IS_ENABLED(OS_BOOT) in SPL/TPL common code paths Message-ID: <20211105193953.GY24579@bill-the-cat> References: <20211031030357.1240731-1-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pWelDfdRnnFTs6ma" Content-Disposition: inline In-Reply-To: <20211031030357.1240731-1-trini@konsulko.com> 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 --pWelDfdRnnFTs6ma Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 30, 2021 at 11:03:48PM -0400, Tom Rini wrote: > When building a system that has both TPL and SPL_OS_BOOT, code which > tests for CONFIG_SPL_OS_BOOT will be built and enabled in TPL, which is > not correct. While there is no CONFIG_TPL_OS_BOOT symbol at this time > (and likely will not ever be) we can use CONFIG_IS_ENABLED(OS_BOOT) in > these common paths to ensure we only compile these parts in the SPL > case. >=20 > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! --=20 Tom --pWelDfdRnnFTs6ma Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmGFiIkACgkQFHw5/5Y0 tyxqDwv+OPQDv4RFSt+wxhhfsOuWDKSftUNvG9glH1gBsw04bBGBYNOXbKpOBvU+ WziMpcL/qQM2568JBUrvO/O9mPwCownB7NOSQCFI4fi/QkNRmxB5HNa4k7PniO4f vL6cSySuQ3CaKnxxtCrbpVF6qGzH9Qb2MGvH7ugrLek0avn+VaHZ72EbSLixbwLx VH/KIk2FjLMAzpYUXD2bNSkBkU3KLYhGeDQ+HNIXWV8EpjMWvvVxHgHdPtsOmtO/ +yM5hBGE6IbmYNdtj4YYjBpxp2C5+lLWTnpQSxVtonAMWxLroLe3xc9DC0Ik6E9k Xxs+U5DqH35Y1oFSgMTqeIEICG5yjLWto+oE7lyRVL8YdA+yVioTqqV8YKpOgytz amjrRFfbZU1rS5cSBNMvUklN4CsRMM3Se0wmzAF8gEtDgE/Wac+GPvZ7h8KmDTv8 vIXZY4T+feVvSdidLU0Mb/H754EIxHIEdZEIFoig5kPyyc/FLx7Um6f1p/mKboq5 uM2+8yEC =hKjW -----END PGP SIGNATURE----- --pWelDfdRnnFTs6ma--