[Concept,14/16] doc: Move console docs to rST
Commit Message
From: Simon Glass <sjg@chromium.org>
Move the console readme into the main documentation, with as few changes
as possible.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
doc/{README.console => usage/console.rst} | 13 ++++++-------
doc/usage/index.rst | 1 +
2 files changed, 7 insertions(+), 7 deletions(-)
rename doc/{README.console => usage/console.rst} (87%)
similarity index 87%
rename from doc/README.console
rename to doc/usage/console.rst
@@ -1,11 +1,10 @@
-SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2000
- * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
- */
+.. SPDX-License-Identifier: GPL-2.0+
+.. sectionauthor:: Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it
+.. (C) Copyright 2000
+=======================
U-Boot console handling
-========================
+=======================
HOW THE CONSOLE WORKS?
----------------------
@@ -57,4 +56,4 @@ You can use the following functions to access the console:
fgetc (like getc but redirected to a file)
Remember that all FILE-related functions CANNOT be used before
-U-Boot relocation (done in 'board_init_r' in arch/*/lib/board.c).
+U-Boot relocation (done in 'board_init_r' in `arch/*/lib/board.c`).
@@ -6,6 +6,7 @@ Use U-Boot
spl_boot
blkmap
+ console
dfu
environment
fdt_overlays