u-boot/include/dm
Bin Meng 8d773c4ab3 dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt()
Currently the comments of several APIs (eg: dm_init_and_scan()) say:

@pre_reloc_only: If true, bind only drivers with the DM_FLAG_PRE_RELOC
flag. If false bind all drivers.

The 'Pre-Relocation Support' chapter in doc/driver-model/README.txt
documents the same that both device tree properties and driver flag
are supported.

However the implementation only checks these special device tree
properties without checking the driver flag at all. This updates
lists_bind_fdt() to consider both scenarios.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Squashed in http://patchwork.ozlabs.org/patch/996473/ :
Signed-off-by: Simon Glass <sjg@chromium.org>
2018-11-14 09:16:27 -08:00
..
platform_data spi: davinci: Add platdata support 2018-10-10 11:35:06 +05:30
device-internal.h device: expose the functions used to remove and unbind children of a device 2018-08-21 16:21:37 +02:00
device.h dm: core: Add a function to find the first inactive child 2018-10-09 04:40:27 -06:00
fdtaddr.h dm: core: add functions to get memory-mapped I/O addresses 2018-06-01 15:56:02 +02:00
lists.h dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() 2018-11-14 09:16:27 -08:00
of.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_access.h ofnode: add ofnode_by_prop_value() 2018-09-18 08:12:21 -06:00
of_addr.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_extra.h dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.h core: Add functions to set properties in live-tree 2018-09-29 11:49:35 -06:00
pinctrl.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
platdata.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
read.h dm: core: add functions to get memory-mapped I/O addresses 2018-06-01 15:56:02 +02:00
root.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
uclass-id.h Add UCLASS_TEE for Trusted Execution Environment 2018-10-07 10:47:38 -04:00
uclass-internal.h uclass: Add dev_get_uclass_index() to get the uclass/index of a device 2018-08-21 16:21:37 +02:00
uclass.h dm: core: Alloc uclass-private data to be cache-aligned 2018-10-09 04:40:27 -06:00
util.h dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc() 2018-11-14 09:16:27 -08:00