[PATCH 17/40] fdt: Clarify the fdt pre-relocation warning

Simon Glass sjg at chromium.org
Thu Jun 1 18:22:41 CEST 2023


Reword this so it is easier to understand.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/core/ofnode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index 1d4ab5bb6f2f..dee890b5527b 100644
--- a/drivers/core/ofnode.c
+++ b/drivers/core/ofnode.c
@@ -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();
 		}
 	}
-- 
2.41.0.rc0.172.g3f132b7071-goog



More information about the U-Boot mailing list