tools: binman: control.py: Propagate bootph-all/bootph-some-ram properties to supernodes
authorMoteen Shah <m-shah@ti.com>
Fri, 16 May 2025 11:41:47 +0000 (17:11 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jun 2025 15:58:41 +0000 (09:58 -0600)
commitd85d15fdfebd040e58bdf80e40ef09d67a8ac808
treee5fd4f0f8411dec25bfa34d6cc4af0b514d403d3
parent9cd88f0eab903997754b2f9e021156b6084052ee
tools: binman: control.py: Propagate bootph-all/bootph-some-ram properties to supernodes

As per bootph schema, bootph-* property in child node should be
implied in their parent, but this feature is not implemented in
the U-Boot proper stage (before relocation) resulting in devices
not being bound because of the missing bootph-all or bootph-some-ram
property in the parent node.

To mitigate this issue, add a function to scan through all the nodes
in the device-tree for bootph-all and bootph-some-ram properties. If
found, propagate it to all of its parent nodes up the hierarchy.

Signed-off-by: Moteen Shah <m-shah@ti.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
tools/binman/control.py