commit | 5ee4cac1c50da54674d237373235511f2c210c4c | [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 | 53f376bab9a2805d76bbf3a76609ec187c1b0c54 [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>