diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-12 17:05:41 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-12 17:05:41 -0500 |
commit | 87c9e117bf57d6bb42c5521a3f6ec9ca7d97e5fa (patch) | |
tree | 9a2a90d475abd35c8945bb3af7aa0c14bfc149f7 /common/console.c | |
parent | f58885d002302b8047446a6a15f7376bb7b1ea32 (diff) | |
parent | 48b3ecbedf8208845ac5956a3fb8817269fafedd (diff) |
Merge branch '2023-01-12-further-assorted-general-updates'
- Bring in a number of assorted updates, some of which have been waiting
around for a bit. Make silent console really be silent, get rid of
gpio_hog_probe_all, add RNG for imx6, make net/fm use fs_loader, get
rid of a bad __weak usage and set distro_bootpart_uuid in another case.
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/console.c b/common/console.c index 10ab361d006..e4301a49322 100644 --- a/common/console.c +++ b/common/console.c @@ -970,6 +970,11 @@ static bool console_update_silent(void) if (!IS_ENABLED(CONFIG_SILENT_CONSOLE)) return false; + if (IS_ENABLED(CONFIG_SILENT_CONSOLE_UNTIL_ENV) && !(gd->flags & GD_FLG_ENV_READY)) { + gd->flags |= GD_FLG_SILENT; + return false; + } + if (env_get("silent")) { gd->flags |= GD_FLG_SILENT; return false; |