From d2472dedbd1682dfb618204ae289deee253506ad Mon Sep 17 00:00:00 2001
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Sat, 12 Dec 2020 08:50:37 +0100
Subject: [PATCH] doc: move pstore.rst to usage/pstore.rst

Let's have a separate chapter dedicated to using U-Boot.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 doc/index.rst              |  8 +-------
 doc/usage/index.rst        | 12 ++++++++++++
 doc/{ => usage}/pstore.rst |  0
 3 files changed, 13 insertions(+), 7 deletions(-)
 create mode 100644 doc/usage/index.rst
 rename doc/{ => usage}/pstore.rst (100%)

diff --git a/doc/index.rst b/doc/index.rst
index 68a083b16b..4c44955d67 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -25,6 +25,7 @@ trying to get it to work optimally on a given system.
    :maxdepth: 2
 
    build/index
+   usage/index
 
 Developer-oriented documentation
 --------------------------------
@@ -109,13 +110,6 @@ Android-specific features available in U-Boot.
 
    android/index
 
-Command line
-------------
-.. toctree::
-   :maxdepth: 2
-
-   pstore.rst
-
 Indices and tables
 ==================
 
diff --git a/doc/usage/index.rst b/doc/usage/index.rst
new file mode 100644
index 0000000000..af7d50650d
--- /dev/null
+++ b/doc/usage/index.rst
@@ -0,0 +1,12 @@
+Use U-Boot
+==========
+
+.. toctree::
+
+Shell commands
+--------------
+
+.. toctree::
+   :maxdepth: 1
+
+   pstore
diff --git a/doc/pstore.rst b/doc/usage/pstore.rst
similarity index 100%
rename from doc/pstore.rst
rename to doc/usage/pstore.rst
-- 
2.39.5