[PATCH] hwconfig: Allow to use restricted env

Tom Rini trini at konsulko.com
Sun Aug 21 01:02:21 CEST 2022


On Sun, Aug 07, 2022 at 09:06:04PM +0200, Pali Rohár 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 ready"
> when env is already working by checking for ENV_VALID flag.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220820/babe3ba8/attachment.sig>


More information about the U-Boot mailing list