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 14B74ECAAD4 for ; Sat, 3 Sep 2022 16:16:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72B0683FC6; Sat, 3 Sep 2022 18:16:08 +0200 (CEST) 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="ETGlQole"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A6063845F8; Sat, 3 Sep 2022 18:16:06 +0200 (CEST) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 6843283FC6 for ; Sat, 3 Sep 2022 18:16:01 +0200 (CEST) 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-qk1-x72d.google.com with SMTP id g21so3860399qka.5 for ; Sat, 03 Sep 2022 09:16:01 -0700 (PDT) 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; bh=ifA7ekAwAs2aR3GxRWlHoNT3FoNHWoYASUus61bYDu0=; b=ETGlQole4iI37yTPoNJDfk64sUkvsMuy5/brGu499B1lq4ZDhwqzIdgDM/tWsB9Tgo +yH6NNrsIyTNGquQ4t6bdjflO1eiJpcjv8Rg1yKotN83L7kej7YNdS+I8N2rPQxXdAsk BO0eTYzLviQfjNSq3cjA0KYlRFjepDJa6tU+c= 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; bh=ifA7ekAwAs2aR3GxRWlHoNT3FoNHWoYASUus61bYDu0=; b=mDwWiqVJYWjF7/CtD4Iw8y06DAqxYGUKv53FN91tKrq0gDcHebhoA0e7rjHsAs/YTh VfMvSY9RNeQffsTf8O/9o+gRZ3nBhKXO6ZsXjR+qxlcdgryRWKKdKY2H9FPd7t8ZwGMV /J1eiI362w4Ru8BcDQectBJvB+qef8EUITJgzsGKqR+nQpcPjdtCW0FtXfjJphBDA+nr 6JgY0E9qJxNj/UEak91ok7vpdKJUu1eR/ocPq6ZQnePvEaM6VUQMlMhj6FPpmOWmRgV0 Al8joCKEYdTGC47OpBYTanuMPiM/QFVztkfpsj7RHYVwxxXesK9OFzv7hKKNKnqA2e2w VXKg== X-Gm-Message-State: ACgBeo1Tu9rSf//brtjbFsV4Yd6ZoJW6p2dDPR6vmQG/9J/80b9zxltQ XHPv7aKHEzMhf/iMxiCjXlXPbA== X-Google-Smtp-Source: AA6agR476dVbrWO86NadgW44ejD5V217e9QKXGBusUxihV5Uh99HMxekcPDfmUbxYzzeBb9fOuOjYQ== X-Received: by 2002:a05:620a:1788:b0:6bb:75c3:ba06 with SMTP id ay8-20020a05620a178800b006bb75c3ba06mr25393005qkb.686.1662221759816; Sat, 03 Sep 2022 09:15:59 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id fu27-20020a05622a5d9b00b003434d3b5938sm3378244qtb.2.2022.09.03.09.15.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Sep 2022 09:15:58 -0700 (PDT) Date: Sat, 3 Sep 2022 12:15:56 -0400 From: Tom Rini To: Sergei Antonov Cc: u-boot@lists.denx.de, Simon Glass , patrick.delaunay@foss.st.com, Marek Vasut Subject: Re: [PATCH] scripts: config_whitelist: CONFIG_SYS_FLASH_AUTOPROTECT_LIST Message-ID: <20220903161556.GS7942@bill-the-cat> References: <20220903143030.1969387-1-saproj@gmail.com> <20220903143124.GR7942@bill-the-cat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v0nHJk0tUyruD8GZ" 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 --v0nHJk0tUyruD8GZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 03, 2022 at 05:49:50PM +0300, Sergei Antonov wrote: > On Sat, 3 Sept 2022 at 17:31, Tom Rini wrote: > > > > On Sat, Sep 03, 2022 at 05:30:30PM +0300, Sergei Antonov wrote: > > > > > CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_fla= sh.c > > > driver. It allows to specify a range of protected eraseblocks on flas= h memory. > > > > > > Fixes build error: > > > Error: You must add new CONFIG options using Kconfig > > > The following new ad-hoc CONFIG options were detected: > > > CONFIG_SYS_FLASH_AUTOPROTECT_LIST > > > > > > Signed-off-by: Sergei Antonov > > > --- > > > scripts/config_whitelist.txt | 1 + > > > 1 file changed, 1 insertion(+) > > > > Please move this to Kconfig so that it can be enabled, thanks. >=20 > What type must it be in Kconfig? Note, it is an array initializer > similar to CONFIG_SYS_BAUDRATE_TABLE. Ah, ugh. So, it's also currently unused code, what does it look like in the platform you're making use of this on? --=20 Tom --v0nHJk0tUyruD8GZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMTfbkACgkQFHw5/5Y0 tyymigv/b6ko9uASUbcgoh7cGtCqf79P7wdIQ7N+IyoD1IpVM/tYI2xlW/AcspvF THrMcdNGwJwtnMLBRoVrkP+XnPNefEDeio/O+Gc9jw38L70/rGDF5Anwdhj2RhZ9 rYOriS2Zs/xCsnA4GLq7XIAHl9hv/i37H5OVxtlE8hkEfAsI9QDC/5f3PqkCjM4Y QYi+LpXrYHmdVhs/NxvXYnvGeMOmi0n4GUmznPiqv0Lwaukr6NHHOr779WTok2Zs N3mzm5VMsrGlWlYeivpRV9ojNBZqqhc0yiaKj4iTmhNQ2l2QBxKfcr9LccXuZEx3 BWZgKJJRmRAXxPNsE1egxgGBbwbTYn+Rt68c9zMsHS5ENWQ+/woyzb5IItN6paBp ETGNWV3rT5zTYwdp2W4iJGO8r1vOjaq8tmboRVCqPyLn1n0HB1exRvrYmystWGPn GBGWPwIX4no+xExivcDo1l691W1DC8fDuNoblUVleqghRpT3MUjDTfJmVuinxBIe BrcTf5C4 =ZOM3 -----END PGP SIGNATURE----- --v0nHJk0tUyruD8GZ--