summaryrefslogtreecommitdiff
path: root/include/dm/lists.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-10-10 22:06:59 -0700
committerSimon Glass <sjg@chromium.org>2018-11-14 09:16:27 -0800
commit6244fc64ce9714373908111acf24f70f88c86b3e (patch)
treed77adf1045a4982f5ac87583de368bdd296b6a13 /include/dm/lists.h
parent8d773c4ab3f77a5a6ceed974d00083a312454660 (diff)
dm: Correct pre_reloc_only parameter description in several APIs' comments
The pre_reloc_only parameter description currently only mentions drivers with the DM_FLAG_PRE_RELOC flag, but does not mention the special device tree properties. Correct them. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/lists.h')
-rw-r--r--include/dm/lists.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/lists.h b/include/dm/lists.h
index 59094d78fc..810e244d9e 100644
--- a/include/dm/lists.h
+++ b/include/dm/lists.h
@@ -39,8 +39,8 @@ struct uclass_driver *lists_uclass_lookup(enum uclass_id id);
* each one. The devices will have @parent as their parent.
*
* @parent: parent device (root)
- * @early_only: If true, bind only drivers with the DM_INIT_F flag. If false
- * bind all drivers.
+ * @pre_reloc_only: If true, bind only drivers with the DM_FLAG_PRE_RELOC flag.
+ * If false bind all drivers.
*/
int lists_bind_drivers(struct udevice *parent, bool pre_reloc_only);