summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2022-09-22 17:53:25 +0200
committerTom Rini <[email protected]>2023-01-12 14:06:16 -0500
commit942918f2acd3634dee7813f7b9f801ffd54d9f2e (patch)
treea935fbb2114983cab7d2da1246380c0863b13296 /doc/develop
parentd0ba0ca45a49d6a062d0bc94b3380ea9b9616284 (diff)
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 <[email protected]> Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions