Skip to content
Commit 7b9fbcd3 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

devicetree: Fix DT_PROP/DT_PROP_BY_IDX for phandle(s)



DT_PROP for a phandle property should return the node that phandle
points to (similar for DT_PROP_BY_IDX for phandles)  and this wasn't
working as the define generator didn't create the proper defines for
phandle(s).

Fix the generator and add some tests to make sure this continues to
work correctly.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent f6d7c38a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment