linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: admin-guide: add earlycon documentation for RISC-V
@ 2019-10-09 19:53 Paul Walmsley
  2019-10-10  7:10 ` Geert Uytterhoeven
  2019-10-17 16:10 ` Christoph Hellwig
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Walmsley @ 2019-10-09 19:53 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: linux-doc, Andreas Schwab, linux-kernel, Geert Uytterhoeven,
	linux-riscv, Christoph Hellwig


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>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andreas Schwab <schwab@suse.de>
---
 Documentation/admin-guide/kernel-parameters.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index c7ac2f3ac99f..011fee969ece 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -990,6 +990,10 @@
 			[X86] When used with no options the early console is
 			determined by the ACPI SPCR table.
 
+			[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
-- 
2.23.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-12 16:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-09 19:53 [PATCH] Documentation: admin-guide: add earlycon documentation for RISC-V Paul Walmsley
2019-10-10  7:10 ` Geert Uytterhoeven
2019-10-10 17:23   ` Jonathan Corbet
2019-11-08  6:10     ` Christoph Hellwig
2019-11-11 17:30       ` Paul Walmsley
2019-11-12 16:44         ` Jonathan Corbet
2019-10-17 16:10 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).