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 854E8C54EBD for ; Sun, 8 Jan 2023 16:06:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C0AB2854DB; Sun, 8 Jan 2023 17:06:14 +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="ibqZHbpM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A876E854EF; Sun, 8 Jan 2023 17:06:12 +0100 (CET) Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (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 DA6128546C for ; Sun, 8 Jan 2023 17:06:09 +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-qv1-xf2e.google.com with SMTP id j9so4643361qvt.0 for ; Sun, 08 Jan 2023 08:06:09 -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=w+jNNhMzW9vOXH2ldw/JEXFeZBudGQvptBhGGr3n9HE=; b=ibqZHbpMay5bWgznk3+yRGc4xa/W5Iwbei1AG5Aat0FVFr5fH9X8i40wtdJ9DWPlK/ MfLau6E3VbTYk/JZh6BEkNvHT74+659E5D3OkrqfOzDX3mRGnKhFE51Run54dUQF3sN4 iUP55oMMgVYtElApIPDSbTQdYZS3Vvkgn0riI= 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=w+jNNhMzW9vOXH2ldw/JEXFeZBudGQvptBhGGr3n9HE=; b=qCW8xSudm1dM8GmhZ4x8Wv8vpCKy+WzGY0lbJ+GpJ9Yp/ZYOzCWyChKhSd5VAiay2T LeOnWoOjNuNRSKE/h5Dz2zRbATN63Ni8K6hNAYCEm7y5a1G299oqXQlfYJrZOZR1Cu2j REIQfkXzG01Vx8/nV/LiIBM0aK4b69ZBDOcQ7T0RQkGfSwUqjfGSUgR5vjEJx+SycC3I seA4MTdLEmD1L6JnwRMcpE+bsSHSQM4djHjVgjA+h1PWQ4iBJTVuZCaE0g6KvO/eJJc1 XqUmo9eixyauVVCku2HKZp/LQSdSpTL9aGvSr5yNb9R8OnBKfeRRfUnDzWNtJX5dl2Ii VE0A== X-Gm-Message-State: AFqh2kqB/j2NMCNq6oBzwLmQ8Z/8s0mr7AAdM+Fc9gTc4pNglQdrhf87 FP0Esd6k2mIRYbk35Xra5Kgvbw== X-Google-Smtp-Source: AMrXdXt0eSF0v7Nj1/GGZg4YI54H/5xtTh4IqiKA1EjdCUzstyL7WrWwmvJDP9+kJLBxwIFRB+bwvQ== X-Received: by 2002:a05:6214:390a:b0:4bc:176f:a50d with SMTP id nh10-20020a056214390a00b004bc176fa50dmr90695067qvb.3.1673193968608; Sun, 08 Jan 2023 08:06:08 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-a51c-8a60-c39b-2d7f.res6.spectrum.com. [2603:6081:7b00:6400:a51c:8a60:c39b:2d7f]) by smtp.gmail.com with ESMTPSA id bp32-20020a05620a45a000b00705b4001fbasm1012777qkb.128.2023.01.08.08.06.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Jan 2023 08:06:08 -0800 (PST) Date: Sun, 8 Jan 2023 11:06:05 -0500 From: Tom Rini To: Simon Glass , Michal Simek , Luca Ceresoli Cc: U-Boot Mailing List , Roger Quadros , Alper Nebi Yasak , Peter Geis , Jerome Forissier , huang lin , Jeffy Chen , Kever Yang , Philipp Tomsich , Ivan Mikhaylov , Quentin Schulz , Philippe Reynes Subject: Re: [PATCH v9 14/14] treewide: Disable USE_SPL_FIT_GENERATOR by default Message-ID: <20230108160605.GB3787616@bill-the-cat> References: <20230107210721.478062-1-sjg@chromium.org> <20230107210721.478062-15-sjg@chromium.org> <20230108134132.GY3787616@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tPnioI4vnbkgSOxn" Content-Disposition: inline In-Reply-To: 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 --tPnioI4vnbkgSOxn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 08, 2023 at 08:48:37AM -0700, Simon Glass wrote: > Hi Tom, >=20 > On Sun, 8 Jan 2023 at 06:41, Tom Rini wrote: > > > > On Sat, Jan 07, 2023 at 02:07:21PM -0700, Simon Glass wrote: > > > > > This option is deprecated and only used by two boards. Enable it for = just > > > those two boards, so others don't accidentally enable it. > > > > > > Signed-off-by: Simon Glass > > [snip] > > > diff --git a/boot/Kconfig b/boot/Kconfig > > > index 55f06761ef8..7ab0dd14211 100644 > > > --- a/boot/Kconfig > > > +++ b/boot/Kconfig > > > @@ -282,12 +282,13 @@ config SPL_FIT_SOURCE > > > config USE_SPL_FIT_GENERATOR > > > bool "Use a script to generate the .its script" > > > depends on SPL_FIT > > > - default y if SPL_FIT && ARCH_ZYNQMP > > > + help > > > + This is deprecated. Please do not use it. Use binman instead. > > > > Lets remove the text around bool so it can't be enabled, and move to > > select'ing it from the two boards that need it. Michal, Luca, what's > > needed to move your two platforms > > (avnet_ultrazedev_cc_v1_0_ultrazedev_som_v1_0 and xilinx_zynqmp_virt off > > of this very legacy option, given that other xilinx platforms have > > already migrated to binman ? >=20 > That's a good idea, but these two boards do not have TARGET Kconfig > options so it is not possible without adding some Kconfig specific to > those boards, then defining it in the defconfig files. >=20 > We already have the legacy warning. Yes, but I swear these are new legacy users as when we started trying to kill off this option it was just a few i.MX platforms lagging behind. Maybe make ARCH_ZYNQMP select DEPRECATED, USE_SPL_FIT_GENERATOR depend on DEPRECATED and add "DERECATED" to the end of the text line? Or maybe Michal or Luca will speak up soon and migrate these over quickly so we can just nuke this. --=20 Tom --tPnioI4vnbkgSOxn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmO66eYACgkQFHw5/5Y0 tyyiRgwAt3YOmFPNF8D4d1/gRiRcXFzOZ2dgFWCQveWB2ga9X61B9YhZ7VrIeFkI HqRYuQGUJKJNud74k9S/tKAAzuW65KT4n4tNhKzyr6ftYCI3hAxG2Kznm7aZOxRe BeNrQ0IUHlPqFOKmVKyWBLOoFt1k+WPZHW0JQHOcdbzwgp4dZUkwNYYisrmk5ZZN IpyYsIHxCgsYPCSAMekxQc1odcY5OlOxM5ZLFr1abXtxwzFZYAd06IIe6xJ6di1w dsR36yyw2z+MYhxDZvjexw3rOldT+afapiCPDiZBTwCceUkIjDiX/mDIy1zN5VBi /pTKfNLLNqVNmfNlq8OzoXSw3PsA55snzjH2cx24KfYyOrmA+9twtWkNcPJJQd4N EWhMHJ/O0o4jXYVFL17V1O82C1Gl9NPSmhHZpNfaMyg9qqIA0dZh17K+yEexpEKQ 3VE1UnlpY5dyUBJeZLb1txJDi3DCcNJK1hduc3HpQLz3b/G19PugBLFx7BAXt07E ijl99htl =pwIn -----END PGP SIGNATURE----- --tPnioI4vnbkgSOxn--