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 1d4ab5b..dee890b 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();
                }
        }