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 A3C95C25B08 for ; Sat, 20 Aug 2022 23:03:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B213084860; Sun, 21 Aug 2022 01:02:39 +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="MejYky4Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 596E18460F; Sun, 21 Aug 2022 01:02:29 +0200 (CEST) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (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 4C6EE845D8 for ; Sun, 21 Aug 2022 01:02:25 +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-x729.google.com with SMTP id i7so5613419qka.13 for ; Sat, 20 Aug 2022 16:02:25 -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; bh=8U4C6xCdaxH9xrENxDxjIEF1pW6YE2NW7o1qXr3FrLU=; b=MejYky4ZoANXhABVC3Myi5MDLTXGerSuwnyrDp5JMKZNBlwjGudkovX4jfWxX73M8Z JCu0HSXOfel3ElP5hkB+FkITx238q6VPlfciW78ZFhgdapKwadjqmbwHVL6rEOQcn+jM m4YF/V9uPhqVTLubkuVZqnyvHqNxv/ZLmm4t4= 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; bh=8U4C6xCdaxH9xrENxDxjIEF1pW6YE2NW7o1qXr3FrLU=; b=GZmQrKf+Ek7IfouvHTFb0woOGf9p0L0Q394qiz/U4WzvCzIJXQ+FpbM02lUhOMo04m DKXtok29kHr4CUyV2TZyBNRuRNkB7V84LJu1xPtPM54riPh1odn1YMEurYIEaLH8eLrf IvYd5PFr2ZbZiZrfM+vEjamLypRrcEgaWzeBwPsTH/DnWBye1rhZzuQzam1nCtWOC1g7 hKKc/HwJrNAefMDy9WQkt6azN9FBRnKijTmt90YB4wUsoNyPObXI79mFWDNeN3KUne3N wVJnLqEYLmoS8kCOWu/QK9dK38fBhPwso7imJnZOKWR4/3VjuzQkb5WE6/03+8q6Ck/N xfdw== X-Gm-Message-State: ACgBeo345NUk6+XsyrYuqZbrpLfFowiw5T3G3tpZNl6dmHspvtSKLDKq BeRSWDbDzYgx15gZZlltuu26yNOhPvnVPi5m X-Google-Smtp-Source: AA6agR5hGJVHD4ov7IR268aBm3QSDG/L2j92ybW1yAKoL7yAwWPjn6M8QOWesu9jx/WBlVGFD8/jiA== X-Received: by 2002:a05:620a:1a88:b0:6bb:ffc7:b75 with SMTP id bl8-20020a05620a1a8800b006bbffc70b75mr1580087qkb.400.1661036543949; Sat, 20 Aug 2022 16:02:23 -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 h13-20020a05620a284d00b006bbdcb3fff7sm4288291qkp.69.2022.08.20.16.02.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Aug 2022 16:02:23 -0700 (PDT) Date: Sat, 20 Aug 2022 19:02:21 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Simon Glass , Wolfgang Denk , u-boot@lists.denx.de Subject: Re: [PATCH] hwconfig: Allow to use restricted env Message-ID: <20220820230221.GV1146598@bill-the-cat> References: <20220807190604.20318-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/u3k6oidmbyhfPjY" Content-Disposition: inline In-Reply-To: <20220807190604.20318-1-pali@kernel.org> 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 --/u3k6oidmbyhfPjY Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 07, 2022 at 09:06:04PM +0200, Pali Roh=E1r wrote: > During early boot phase GD_FLG_ENV_READY is not set but env_get() may work > when env is ready in restricted mode. Do not fail with error message > "WARNING: Calling __hwconfig without a buffer and before environment is r= eady" > when env is already working by checking for ENV_VALID flag. >=20 > Signed-off-by: Pali Roh=E1r Applied to u-boot/master, thanks! --=20 Tom --/u3k6oidmbyhfPjY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMBZ/0ACgkQFHw5/5Y0 tywAEgv/Tl5GK416d7nqxZOPyXgIajUEeq38IicpYYrFNkjHucWC8hcXKbBSRLH4 npAgarFmGBLFAq7g+RHMxtoRLWSk0I2QSIaTg88xm7TcdVgQcjsrvLihNPsVmROn oqpmojgFaVrgXCMPL6Du3mYlxSRe+d0hYppw4a5R+yJZofUjQ/EFXMzHfA8VYlNk doDtraPIoAcSt1hZi+cyCFwAH1b9R5nHSTB8RWWWrDG/SaOrj61lCbl0p/1t04QF dKYn1sNrBZXxDEWmGlo43VeC6qr5SFYL6m0xqck3LuQuuU8Yz+jVARmwMHipGr3v 3c7NyPImrlUWZJOPRlyPqkq/CPwvktDzpLtLyF9PozSXAf0eoPpJIs5SuYLPco3T 9+JjhSFnF/wcpD7r7lnq+AWF2KxxjO7M6w8dL9JHcJzLsLoNvXNtS2ap0RxhzFee 2tWsjdtk6VqRgsC8auxrq0of/OOwBBWN/875B0OfBem0LhDsFaYJfUnbGgfBJixG +kdtNFdm =O++2 -----END PGP SIGNATURE----- --/u3k6oidmbyhfPjY--