aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Walmsley <paul.walmsley@sifive.com>2019-10-09 12:53:50 -0700
committerJonathan Corbet <corbet@lwn.net>2019-10-10 11:23:21 -0600
commit7f70ae564b807f81263326d641514c6dca88e5ef (patch)
tree4195626310b0e749f8139b1a8d4ec162383b6e02
parentdocs: remove :c:func: from genalloc.rst (diff)
downloadlinux-dev-7f70ae564b807f81263326d641514c6dca88e5ef.tar.xz
linux-dev-7f70ae564b807f81263326d641514c6dca88e5ef.zip
Documentation: admin-guide: add earlycon documentation for RISC-V
Kernels booting on RISC-V can specify "earlycon" with no options on the Linux command line, and the generic DT earlycon support will query the "chosen/stdout-path" property (if present) to determine which early console device to use. Document this appropriately in the admin-guide. Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Christoph Hellwig <hch@lst.de> Cc: Andreas Schwab <schwab@suse.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/admin-guide/kernel-parameters.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index edf65dad250b..fd69e7f8ef79 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -988,6 +988,10 @@
chosen node or the ACPI SPCR table if supported by
the platform.
+ [RISCV] When used with no options, the early
+ console is determined by the stdout-path
+ property in the device tree's chosen node.
+
cdns,<addr>[,options]
Start an early, polled-mode console on a Cadence
(xuartps) serial port at the specified address. Only