Commit 7f70ae56 authored by Paul Walmsley's avatar Paul Walmsley Committed by Jonathan Corbet

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: default avatarPaul Walmsley <paul.walmsley@sifive.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andreas Schwab <schwab@suse.de>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent f11b46f3
...@@ -988,6 +988,10 @@ ...@@ -988,6 +988,10 @@
chosen node or the ACPI SPCR table if supported by chosen node or the ACPI SPCR table if supported by
the platform. 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] cdns,<addr>[,options]
Start an early, polled-mode console on a Cadence Start an early, polled-mode console on a Cadence
(xuartps) serial port at the specified address. Only (xuartps) serial port at the specified address. Only
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment