u-boot/drivers/core
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
..
acpi.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
device-remove.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
device.c dm: core: Support accessing core tags 2022-06-28 03:09:52 +01:00
devres.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
dump.c dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
fdtaddr.c dm: core: Reduce code size with dev_of_offset() 2022-09-29 16:11:14 -04:00
Kconfig global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
lists.c dm: core: Fix iteration over driver_info records 2022-12-02 08:39:00 -05:00
Makefile vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
of_access.c dm: core: Expand integer-reading tests 2022-09-29 22:43:42 -04:00
of_addr.c drivers/core/of_addr.c: Fix spelling of "shouldn't". 2022-01-13 07:57:50 -05:00
of_extra.c net: introduce a helper to determine whether to use in-band autoneg 2021-11-23 09:57:55 +02:00
ofnode.c net: phy: Fix ethernet-phy-id <dot> in the code 2022-11-22 15:02:07 +01:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.c dm: core: Rename ofnode_get_property_by_prop() 2022-09-29 16:11:14 -04:00
regmap.c dm: regmap: Disable range checks in SPL 2022-10-17 21:17:12 -06:00
root.c dm: fix probing of all devices that have u-boot, dm-pre-reloc in SPL/TPL 2023-01-12 14:06:16 -05:00
simple-bus.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
simple-pm-bus.c simple-pm-bus: Use -ENOSYS for checking missing system call 2021-04-06 16:33:19 +12:00
syscon-uclass.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
tag.c dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
uclass.c dm: core: Do not stop uclass iteration on error 2022-10-29 07:36:33 -06:00
util.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00