summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2026-08-24 17:13:13 +0400
committerTom Rini <trini@konsulko.com>2026-08-31 17:06:21 -0600
commit44a2a718fbe62d703a8ce2ff576d2252c7444087 (patch)
tree144cb4ffef6f3d3ff4317a29f9ae90ea8168b167
parent388137abfd0442c1bbe3df92277823d9070a2747 (diff)
downloadu-boot-44a2a718fbe62d703a8ce2ff576d2252c7444087.tar.gz
u-boot-44a2a718fbe62d703a8ce2ff576d2252c7444087.zip
pylibfdt: Document that FdtSw.property() takes bytes
Commit 97de532e59be ("pylibfdt: Correct the type for fdt_property_stub()") took two of the three hunks of the upstream change and left the docstring saying only "Value of property", which is what prompted the type fix in the first place. Take the remaining hunk of dtc commit fdf3f6d897ab ("pylibfdt: Correct the type for fdt_property_stub()"). Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [rewrite commit message for U-Boot] Signed-off-by: Alexey Charkov <alchark@flipper.net>
-rw-r--r--scripts/dtc/pylibfdt/libfdt.i_shipped2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/pylibfdt/libfdt.i_shipped b/scripts/dtc/pylibfdt/libfdt.i_shipped
index 127ec22de3f..3d527dfe212 100644
--- a/scripts/dtc/pylibfdt/libfdt.i_shipped
+++ b/scripts/dtc/pylibfdt/libfdt.i_shipped
@@ -1112,7 +1112,7 @@ class FdtSw(FdtRo):
Args:
name: Name of property to add
- val: Value of property
+ val: Value of property (bytes)
quiet: Errors to ignore (empty to raise on all errors)
Raises: