]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
doc: Fix whitespace in devicetree example in overlay-fdt-boot.rst
authorWolfgang Wallner <wolfgang.wallner@br-automation.com>
Fri, 24 Oct 2025 15:12:04 +0000 (17:12 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 26 Oct 2025 15:03:35 +0000 (09:03 -0600)
Fix the whitespace and add a missing quotation mark
(default = "foo-reva.dtb") in overlay-fdt-boot.rst.

Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
doc/usage/fit/overlay-fdt-boot.rst

index f5af6d9df0584ad51a149c85514b2dad8ed7df3e..0f012d6988aa672ffc7cfc424cb12a5d4669711c 100644 (file)
@@ -24,77 +24,77 @@ add-on board, while only the revb board can use a baz add-on board.
 
 Without using overlays the configuration would be as follows for every case::
 
-       /dts-v1/;
-       / {
-           images {
-           kernel {
-               data = /incbin/("./zImage");
-               type = "kernel";
-               arch = "arm";
-               os = "linux";
-               load = <0x82000000>;
-               entry = <0x82000000>;
-           };
-           fdt-1 {
-               data = /incbin/("./foo-reva.dtb");
-               type = "flat_dt";
-               arch = "arm";
-           };
-           fdt-2 {
-               data = /incbin/("./foo-revb.dtb");
-               type = "flat_dt";
-               arch = "arm";
-           };
-           fdt-3 {
-               data = /incbin/("./foo-reva-bar.dtb");
-               type = "flat_dt";
-               arch = "arm";
-           };
-           fdt-4 {
-               data = /incbin/("./foo-revb-bar.dtb");
-               type = "flat_dt";
-               arch = "arm";
-           };
-           fdt-5 {
-               data = /incbin/("./foo-revb-baz.dtb");
-               type = "flat_dt";
-               arch = "arm";
-           };
-           fdt-6 {
-               data = /incbin/("./foo-revb-bar-baz.dtb");
-               type = "flat_dt";
-               arch = "arm";
-           };
-           };
-
-           configurations {
-           default = "foo-reva.dtb;
-           foo-reva.dtb {
-               kernel = "kernel";
-               fdt = "fdt-1";
-           };
-           foo-revb.dtb {
-               kernel = "kernel";
-               fdt = "fdt-2";
-           };
-           foo-reva-bar.dtb {
-               kernel = "kernel";
-               fdt = "fdt-3";
-           };
-           foo-revb-bar.dtb {
-               kernel = "kernel";
-               fdt = "fdt-4";
-           };
-           foo-revb-baz.dtb {
-               kernel = "kernel";
-               fdt = "fdt-5";
-           };
-           foo-revb-bar-baz.dtb {
-               kernel = "kernel";
-               fdt = "fdt-6";
-           };
-           };
-       };
+    /dts-v1/;
+    / {
+        images {
+            kernel {
+                data = /incbin/("./zImage");
+                type = "kernel";
+                arch = "arm";
+                os = "linux";
+                load = <0x82000000>;
+                entry = <0x82000000>;
+            };
+            fdt-1 {
+                data = /incbin/("./foo-reva.dtb");
+                type = "flat_dt";
+                arch = "arm";
+            };
+            fdt-2 {
+                data = /incbin/("./foo-revb.dtb");
+                type = "flat_dt";
+                arch = "arm";
+            };
+            fdt-3 {
+                data = /incbin/("./foo-reva-bar.dtb");
+                type = "flat_dt";
+                arch = "arm";
+            };
+            fdt-4 {
+                data = /incbin/("./foo-revb-bar.dtb");
+                type = "flat_dt";
+                arch = "arm";
+            };
+            fdt-5 {
+                data = /incbin/("./foo-revb-baz.dtb");
+                type = "flat_dt";
+                arch = "arm";
+            };
+            fdt-6 {
+                data = /incbin/("./foo-revb-bar-baz.dtb");
+                type = "flat_dt";
+                arch = "arm";
+            };
+        };
+
+        configurations {
+            default = "foo-reva.dtb";
+            foo-reva.dtb {
+                kernel = "kernel";
+                fdt = "fdt-1";
+            };
+            foo-revb.dtb {
+                kernel = "kernel";
+                fdt = "fdt-2";
+            };
+            foo-reva-bar.dtb {
+                kernel = "kernel";
+                fdt = "fdt-3";
+            };
+            foo-revb-bar.dtb {
+                kernel = "kernel";
+                fdt = "fdt-4";
+            };
+            foo-revb-baz.dtb {
+                kernel = "kernel";
+                fdt = "fdt-5";
+            };
+            foo-revb-bar-baz.dtb {
+                kernel = "kernel";
+                fdt = "fdt-6";
+            };
+        };
+    };
 
 Note the blob needs to be compiled for each case and the combinatorial explosion of
 configurations. A typical device tree blob is in the low hundreds of kbytes so a