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 AE4CEC4332F for ; Fri, 9 Dec 2022 22:55:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8262C8530B; Fri, 9 Dec 2022 23:54:41 +0100 (CET) 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="dEagTfdq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2E463852FC; Fri, 9 Dec 2022 23:54:39 +0100 (CET) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (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 7D3838530B for ; Fri, 9 Dec 2022 23:54:36 +0100 (CET) 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-wr1-x431.google.com with SMTP id h7so6655153wrs.6 for ; Fri, 09 Dec 2022 14:54:36 -0800 (PST) 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:message-id:reply-to; bh=c9o2jB/dg8Bv7Pey+oNdl96cBcdK0SN8C+MsnUEVOb8=; b=dEagTfdqy0TxRvqK4LGSmAx2Z4v+VBaqilLEyiv3AXSaUWFBfwJoNxi8GPk0yjI6Fn UHlA19C4+KE6cNhzPlSy5Z/uz+vJZFTbkUs8RjWWwdkWY9VMvSadANtCVjUXBvpn1kIu Fwv4aUt88rd5Q9ok3ttcRvfaSM9B3F1fdSSG8= 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 :message-id:reply-to; bh=c9o2jB/dg8Bv7Pey+oNdl96cBcdK0SN8C+MsnUEVOb8=; b=P3kH4n8bKlm20UUh38+xhAUuPNVXvDbtAV6BNq9mJHLJeiivsYJQiROxFmDDVmqzlB TqiV7d3D2pgBodn0kbjN6b6gV1vE5GHlbxUXR/2w3wt0VhDbeTCsaWasFNGvAQEHgkSE 290HwG+VMJU0X9sIc5CSBA0N0CFVRxraRCkg8yeuoQQrCR8iiCnoG8allZrD771SJFxx XPH9qkRkLgZq84//xTIAFwtSS3qPU/RAy1eCsrPWYkMhdau3LzGBn8SIm73lacKvjWVp 1t6lGiO8CYohB65hG6ydomHnmfr9+fZ5ZUl8g05mCoBWX9nJX7eLgf6xbSH9rNlWZBBc hjlA== X-Gm-Message-State: ANoB5pl4LSH7i3iprCeg+YddwTWpGHUgnoeixRNMgzS/k0CVn6kfjo7G cihGHiyoXV8ZnQdOqouakxkMKQ== X-Google-Smtp-Source: AA0mqf6XIxDdrpwaSXoLQ/AFRpUXko7prccCIkQpajcTIUnHxSAphrhGbPi5hJvm2Y+css/YdghFRA== X-Received: by 2002:a5d:526a:0:b0:242:877d:ca63 with SMTP id l10-20020a5d526a000000b00242877dca63mr5120078wrc.44.1670626476059; Fri, 09 Dec 2022 14:54:36 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-b826-a734-d5f3-47e0.res6.spectrum.com. [2603:6081:7b00:6400:b826:a734:d5f3:47e0]) by smtp.gmail.com with ESMTPSA id m8-20020a056000008800b002366c3eefccsm2352355wrx.109.2022.12.09.14.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 14:54:35 -0800 (PST) Date: Fri, 9 Dec 2022 17:54:32 -0500 From: Tom Rini To: Sean Anderson Cc: u-boot@lists.denx.de, Rasmus Villemoes , Simon Glass , Bin Meng Subject: Re: [PATCH v4 1/2] x86: fsp: Only compile fsp_save_s3_stack if (SPL_)DM_RTC is enabled Message-ID: <20221209225432.GH3787616@bill-the-cat> References: <20221122175452.473845-1-sean.anderson@seco.com> <20221122175452.473845-2-sean.anderson@seco.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6zW/SEvN2p6oRWn3" Content-Disposition: inline In-Reply-To: <20221122175452.473845-2-sean.anderson@seco.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 --6zW/SEvN2p6oRWn3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 22, 2022 at 12:54:51PM -0500, Sean Anderson wrote: > This function calls rtc_write32, which has a different signature > depending on if (SPL_)DM_RTC is enabled or not. This could result in a > mismatch in SPL if DM_RTC was enabled but SPL_DM_RTC, as the non-DM > declaration would still be used in SPL even though the implementation > would be for non-DM_RTC. We are switching to the correct definitions in > the next commit, so this will become a compilation error. Since > fsp_save_s3_stack is not called from SPL, avoid compiling it if > (SPL_)DM_RTC is disabled. >=20 > Signed-off-by: Sean Anderson Applied to u-boot/next, thanks! --=20 Tom --6zW/SEvN2p6oRWn3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmOTvKgACgkQFHw5/5Y0 tywHiQwAtojMoRroqXT+RJPWOKwPynN7lC+csDR/TdB6CBXh5/3ZsszDe9hLOoQ8 33idxSbOSHKb7L4xRR74r4lFAwfxbDMig+q2z0KQoxA+x4+Aua+SVb9uAWPT2Ski 0x5pizF4KMHLV7gGZyNZ0S867rSPJINsp64GX+orC05SELJ+upRXcVk767Q9LSt7 3uk2lgaMEg7cMCYkGBUUb3igOmEsIL8ml6cSV6n2/6AfnWQhxkrRkGISf6Zw59SB 3IAFKoPS9VzBfBvusk22U8LwF/KVa5mJOmKdj4V1L2ZWFU2/04Kt5c+TEoij7qvd Pq+RQSe56yehVyOcaZUJ1Jv6yKyxm3dvpoZmwprAkeecoGscfuIAEVsnXhWICpem gud1LeD5RRn1r6JOlGINO2NdAgmcr9q6rrIr1tMJdvWJKn1gHNkGfCck8YU+cCJI zGpS1lxDu1oW4dj9iQOfOLThOa0wd0NR2A483Pb8bfves6WeSHqwK6IpjPv0nIPW uUNrNg0v =+3T2 -----END PGP SIGNATURE----- --6zW/SEvN2p6oRWn3--