]> git.sur5r.net Git - u-boot/commit
dtoc: Fix properties with a single zero-arg phandle
authorSimon Glass <sjg@chromium.org>
Fri, 6 Jul 2018 16:27:31 +0000 (10:27 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Jul 2018 15:11:00 +0000 (09:11 -0600)
commit760b7170c5e44c771397eaf57b7197b621373809
treee2d18563610f0059aab03a3c63cceccf468c2407
parentb9066ffc136afd2e46e8d033c4edce98f5557afc
dtoc: Fix properties with a single zero-arg phandle

At present a property with a single phandle looks like an integer value
to dtoc. Correct this by adjusting it in the phandle-processing code.

Add a test for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py
tools/dtoc/dtoc_test_phandle.dts
tools/dtoc/test_dtoc.py
tools/dtoc/test_fdt.py