mirror of
https://xff.cz/git/u-boot/
synced 2025-12-30 06:07:23 +01:00
It is sometimes useful to find a device in a uclass using only its driver data. The driver data often indicates the 'subtype' of the device, e,g, via its compatible string. Add a function to handle this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
5.3 KiB
5.3 KiB