projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm: Introduce per-child data for devices
[oweals/u-boot.git]
/
include
/
dm
/
device-internal.h
diff --git
a/include/dm/device-internal.h
b/include/dm/device-internal.h
index 26e5cf530ebc8b6bb81ec34c72abc0a4ecd268f2..7005d03d08f5d96adcd3f28c2a11f7f9e318ec44 100644
(file)
--- a/
include/dm/device-internal.h
+++ b/
include/dm/device-internal.h
@@
-45,12
+45,14
@@
int device_bind(struct udevice *parent, struct driver *drv,
* tree.
*
* @parent: Pointer to device's parent
* tree.
*
* @parent: Pointer to device's parent
+ * @pre_reloc_only: If true, bind the driver only if its DM_INIT_F flag is set.
+ * If false bind the driver always.
* @info: Name and platdata for this device
* @devp: Returns a pointer to the bound device
* @return 0 if OK, -ve on error
*/
* @info: Name and platdata for this device
* @devp: Returns a pointer to the bound device
* @return 0 if OK, -ve on error
*/
-int device_bind_by_name(struct udevice *parent,
const struct driver_info *info
,
- struct udevice **devp);
+int device_bind_by_name(struct udevice *parent,
bool pre_reloc_only
,
+
const struct driver_info *info,
struct udevice **devp);
/**
* device_probe() - Probe a device, activating it
/**
* device_probe() - Probe a device, activating it