]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: fit: Format image tree source example
authorJ. Neuschäfer <j.ne@posteo.net>
Sun, 15 Dec 2024 15:38:29 +0000 (16:38 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 24 Dec 2024 16:06:59 +0000 (17:06 +0100)
The example in kernel_fdt.rst is inconsistently indented, making it
difficult to read.

Indent the example with the same standard as the other examples:
Four spaces for the ReST code block and for every nesting level.

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
doc/usage/fit/kernel_fdt.rst

index 9cc26fb7831e4bc244c4843645221f9643c0c1ae..3802c8292d6c5f6f30301db314d2740a52558c9d 100644 (file)
@@ -5,50 +5,50 @@ Single kernel and FDT blob
 
 ::
 
-       /dts-v1/;
+    /dts-v1/;
 
-       / {
-       description = "Simple image with single Linux kernel and FDT blob";
-       #address-cells = <1>;
+    / {
+        description = "Simple image with single Linux kernel and FDT blob";
+        #address-cells = <1>;
 
-       images {
-               kernel {
-               description = "Vanilla Linux kernel";
-               data = /incbin/("./vmlinux.bin.gz");
-               type = "kernel";
-               arch = "ppc";
-               os = "linux";
-               compression = "gzip";
-               load = <00000000>;
-               entry = <00000000>;
-               hash-1 {
-                       algo = "crc32";
-               };
-               hash-2 {
-                       algo = "sha256";
-               };
-               };
-               fdt-1 {
-               description = "Flattened Device Tree blob";
-               data = /incbin/("./target.dtb");
-               type = "flat_dt";
-               arch = "ppc";
-               compression = "none";
-               hash-1 {
-                       algo = "crc32";
-               };
-               hash-2 {
-                       algo = "sha256";
-               };
-               };
-       };
+        images {
+            kernel {
+                description = "Vanilla Linux kernel";
+                data = /incbin/("./vmlinux.bin.gz");
+                type = "kernel";
+                arch = "ppc";
+                os = "linux";
+                compression = "gzip";
+                load = <00000000>;
+                entry = <00000000>;
+                hash-1 {
+                    algo = "crc32";
+                };
+                hash-2 {
+                    algo = "sha256";
+                };
+            };
+            fdt-1 {
+                description = "Flattened Device Tree blob";
+                data = /incbin/("./target.dtb");
+                type = "flat_dt";
+                arch = "ppc";
+                compression = "none";
+                hash-1 {
+                    algo = "crc32";
+                };
+                hash-2 {
+                    algo = "sha256";
+                };
+            };
+        };
 
-       configurations {
-               default = "conf-1";
-               conf-1 {
-               description = "Boot Linux kernel with FDT blob";
-               kernel = "kernel";
-               fdt = "fdt-1";
-               };
-       };
-       };
+        configurations {
+            default = "conf-1";
+            conf-1 {
+                description = "Boot Linux kernel with FDT blob";
+                kernel = "kernel";
+                fdt = "fdt-1";
+            };
+        };
+    };