[PATCH 1/2] core: improve of_match_ptr with OF_PLATDATA

Simon Glass sjg at chromium.org
Sat Sep 5 23:10:26 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>

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list