]> git.baikalelectronics.ru Git - uboot.git/commit
core: improve of_match_ptr with OF_PLATDATA
authorWalter Lozano <walter.lozano@collabora.com>
Wed, 29 Jul 2020 16:17:31 +0000 (13:17 -0300)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:50:43 +0000 (12:50 -0600)
commitcfdd84a53a17d84f560a6d167d0350b241e5eafb
tree99098996a92f6fa563a97c30c872b02f1a0040be
parente98c6862cfeb7926683b7b3f0c162181078456fa
core: improve of_match_ptr with OF_PLATDATA

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@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dm/device.h