From: Simon Glass <sjg@chromium.org>
Date: Tue, 23 Nov 2021 18:03:44 +0000 (-0700)
Subject: binman: Correct comments for ReadChildData()
X-Git-Tag: v2025.01-rc5-pxa1908~1591^2~12^2~25
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=557693ef7edaf66c43e709b33e7c98d7371c083c;p=u-boot.git

binman: Correct comments for ReadChildData()

The comment here is incomplete. Fix it.

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

diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index 5e66aa4fa5..2205bc8d92 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -860,7 +860,8 @@ features to produce new behaviours.
         """Handle writing the data in a child entry
 
         This should be called on the child's parent section after the child's
-        data has been updated. It
+        data has been updated. It should update any data structures needed to
+        validate that the update is successful.
 
         This base-class implementation does nothing, since the base Entry object
         does not have any children.
@@ -870,7 +871,7 @@ features to produce new behaviours.
 
         Returns:
             True if the section could be updated successfully, False if the
-                data is such that the section could not updat
+                data is such that the section could not update
         """
         return True