[U-Boot] [PATCH v3 02/17] fdt_ro.c: add new function: fdt_node_check_prop_compatible()

Simon Glass
2015-03-29T13:07:13Z

Hi Przemyslaw,

On 24 March 2015 at 14:30, Przemyslaw Marczak <p.marczak@samsung.com> wrote:
> This commit:
> - moves fdt_node_check_compatible() code to fdt_node_check_prop_compatible()
> - adds call to fdt_node_check_prop_compatible() in fdt_node_check_compatible()
> with 'compatible' as the name of compatible property.
>
> The function: fdt_node_check_compatible() - works the same as previous.
> The function fdt_node_check_prop_compatible() - allows for checking compatible
> string in given property name.
>
> If some fdt node uses different name for compatible property, than 'compatible',
> then the function fdt_node_check_prop_compatible() can be used with the custom
> compatible property name as an argument.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>

I doubt this would be accepted by libfdt upstream. I don't think we
need it - see my cover letter response.

Regards,
Simon