]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Only write FDT once per node
authorSamuel Holland <samuel@sholland.org>
Thu, 22 Oct 2020 02:12:09 +0000 (21:12 -0500)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 22 Oct 2020 06:13:43 +0000 (11:43 +0530)
commit724329cfcd96b8756f8fcc46faa92ef980fd7a91
tree2e0135574772b2ae837f374075abe78ec548b43c
parent4732e0b74cb64dbe80ad174ca9320f1164f9f696
binman: Only write FDT once per node

Due to an extra level of indentation, the "data" property containing the
FDT was being written repeatedly after every other property in the node.
This caused the generated FIT image to be invalid.

Move the block up one level, so the property is added exactly once.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
tools/binman/etype/fit.py