]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fdt: Clarify the fdt pre-relocation warning
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2023 16:22:41 +0000 (10:22 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 16:54:51 +0000 (12:54 -0400)
Reword this so it is easier to understand.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c

index 1d4ab5bb6f2fe9aee40a9324171d44d35b21a21c..dee890b5527bcb4db6cacc9ec81223eb69f0902d 100644 (file)
@@ -72,7 +72,7 @@ static oftree oftree_ensure(void *fdt)
                }
        } else {
                if (fdt != gd->fdt_blob) {
-                       log_debug("Cannot only access control FDT before relocation\n");
+                       log_debug("Only the control FDT can be accessed before relocation\n");
                        return oftree_null();
                }
        }