[PATCH 1/2] core: improve of_match_ptr with OF_PLATDATA
Simon Glass
sjg at chromium.org
Fri Aug 7 18:23:29 CEST 2020
On Wed, 29 Jul 2020 at 10:17, Walter Lozano <walter.lozano at collabora.com> wrote:
>
> Currently of_match_ptr is used to avoid referencing compatible strings
> when OF_CONTROL is not enabled. This behaviour could be improved by
> taking into account also OF_PLATDATA, as when this configuration is
> enabled the compatible strings are not used at all.
>
> Signed-off-by: Walter Lozano <walter.lozano at collabora.com>
> ---
>
> include/dm/device.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list