Hi Patrick, On Wed, 23 Oct 2019 at 07:45, Patrick Delaunay <patrick.delau...@st.com> wrote: > > Migrate pinctrl-generic to livetree: > - ofnode_get_first_property > - ofnode_get_next_property > - ofnode_get_property_by_prop > - ofnode_read_string_count > - ofnode_read_string_index > and get rid of DECLARE_GLOBAL_DATA_PTR. > > This solve parsing issue during test in sandbox for pin > configuration (OF_LIVE is activated in sandbox_defconfig > and sub node are not correctly parsed in > pinctrl_generic_set_state_subnode with fdt lib API). > > Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> > --- > > drivers/pinctrl/pinctrl-generic.c | 36 +++++++++++++++---------------- > 1 file changed, 17 insertions(+), 19 deletions(-) >
It looks like this should use dev_read_...() too. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot