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

Simon Glass sjg at chromium.org
Sun Mar 29 15:07:13 CEST 2015


Hi Przemyslaw,

On 24 March 2015 at 14:30, Przemyslaw Marczak <p.marczak at 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 at 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


More information about the U-Boot mailing list