commit | cc82baef88892a4ad0a452808a5431c83f3d40fa | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@foss.st.com> | Wed Jan 17 13:37:13 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 24 11:12:11 2024 -0500 |
tree | f3d428e77b78318ed971bd06b712d9014950613f | |
parent | 08f67c4e3d4c839e0ad6b7dbcc25b19c7a36d548 [diff] |
common: console: Fix print complete stdio device list In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are on and stdin or stdout or stderr are missing in environment, as fallback, get these either from stdio_devices[std] or stdio_devices[std]->name. Fixes: 6b343ab38d ("console: Print out complete stdio device list") Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>