Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1342089
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 16/17] FDT: Add a helper to get specified name subnode |
| Date | 2016-02-24 16:00 +0100 |
| Message-ID | <r5J4Z-62M-3@gated-at.bofh.it> (permalink) |
| References | <qYEWt-2Kf-5@gated-at.bofh.it> <qYEWu-2Kf-25@gated-at.bofh.it> <r08IQ-7Ps-33@gated-at.bofh.it> <r5jke-4zB-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Feb 23, 2016 at 5:13 AM, Shannon Zhao <zhaoshenglong@huawei.com> wrote: > > > On 2016/2/9 13:04, Rob Herring wrote: >> On Thu, Feb 4, 2016 at 9:05 PM, Shannon Zhao <zhaoshenglong@huawei.com> wrote: >>> From: Shannon Zhao <shannon.zhao@linaro.org> >>> >>> Sometimes it needs to check if there is a node in FDT by full path. >> >> I'm confused. Are you searching by full path or... >> >>> Introduce this helper to get the specified name subnode if it exists. >> >> name of sub node? >> > get the offset of sub node by specified name. > >> Either way, fdt_subnode_offset or fdt_path_offset doesn't work? >> > Ah,right,both of them should work. Does it need to add a wrapper in > drivers/of/fdt.c for them or directly use them with the parameter > initial_boot_params? Add a wrapper in fdt.c. Rob
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH v4 16/17] FDT: Add a helper to get specified name subnode Shannon Zhao <zhaoshenglong@huawei.com> - 2016-02-23 12:30 +0100 Re: [PATCH v4 16/17] FDT: Add a helper to get specified name subnode Rob Herring <robh@kernel.org> - 2016-02-24 16:00 +0100
csiph-web