commit | a871af2d5a59c26d4ff7e60530a7afce0742e6f0 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sun Aug 07 21:06:04 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat Aug 20 18:12:51 2022 -0400 |
tree | aab0e045090d47d91973c8cceeedf54b823e78bf | |
parent | cc0b36536b8ffe89293930934439c8148afa075c [diff] |
hwconfig: Allow to use restricted env 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@kernel.org>