Files
u-boot/drivers
Quentin Schulz 942918f2ac dm: fix probing of all devices that have u-boot, dm-pre-reloc in SPL/TPL
Currently, dm_probe_devices checks that the flags of the device contains
DM_FLAG_PRE_RELOC. However DM_FLAG_PRE_RELOC is a driver - and not a
device - flag. This means that the check in pre_reloc_only mode would
always fail.

Instead, what was aimed to be checked is that either the driver of the
device has the flag set, or that the device has the u-boot,dm-pre-reloc
Device Tree property set.

So let's fix the check to allow u-boot,dm-pre-reloc devices to be
probed.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2023-01-12 14:06:16 -05:00
..
2022-12-22 10:31:48 -05:00
…
2022-12-21 13:09:01 -05:00
…
2022-09-16 11:05:16 -04:00
2023-01-11 15:02:24 -05:00
…
2023-01-09 11:30:08 -05:00
…
2022-09-19 16:07:12 -04:00
…
2023-01-09 11:30:08 -05:00
2022-12-22 10:31:48 -05:00
…
2022-10-11 16:03:03 -04:00
2023-01-09 11:30:08 -05:00
…
2022-11-02 13:58:17 -04:00