diff options
| author | Tom Rini <[email protected]> | 2023-04-09 11:08:39 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-04-09 11:08:39 -0400 |
| commit | 7daa8dd59bc8455a43cdd2d0e34206e406e5cdcc (patch) | |
| tree | 975875173c54134724ee81a05773d69795c3e924 /doc/usage/cmd | |
| parent | fa6f458c679f55edd11e8e34f209d4a0e01bf7bc (diff) | |
| parent | d9d07d751e0f41d009051e8c25e2d5d9cf7ca41c (diff) | |
Merge tag 'efi-2023-07-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023-07-rc1
Documentation:
* man-page for coninfo command
* documentation style
* switch settings for boot modes on AM62 SK
UEFI:
* avoid using deprecated HandleProtocol()
* set static attribute for non-exported functions and variables
Diffstat (limited to 'doc/usage/cmd')
| -rw-r--r-- | doc/usage/cmd/coninfo.rst | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/doc/usage/cmd/coninfo.rst b/doc/usage/cmd/coninfo.rst new file mode 100644 index 00000000000..f913148c44a --- /dev/null +++ b/doc/usage/cmd/coninfo.rst @@ -0,0 +1,55 @@ +.. SPDX-License-Identifier: GPL-2.0+: + +coninfo command +=============== + +Synopsis +-------- + +:: + + coninfo + +Description +----------- + +The coninfo command provides a list of available console input and output +devices and their assignment as stdin, stdout, stderr console devices. + +If CONFIG_SYS_CONSOLE_IS_IN_ENV=y, the assignment is controlled by the +environment variables stdin, stdout, stderr which contain a comma separated +list of device names. + +Example +-------- + +.. code-block:: console + + => coninfo + List of available devices + |-- pl011@9000000 (IO) + | |-- stdin + | |-- stdout + | |-- stderr + |-- serial (IO) + |-- usbkbd (I) + => setenv stdin pl011@9000000,usbkbd + => coninfo + List of available devices + |-- pl011@9000000 (IO) + | |-- stdin + | |-- stdout + | |-- stderr + |-- serial (IO) + |-- usbkbd (I) + | |-- stdin + +Configuration +------------- + +The coninfo command is only available if CONFIG_CMD_CONSOLE=y. + +Return value +------------ + +The return value $? is always 0 (true). |
