aboutsummaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-24 21:48:00 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-25 01:15:34 +0100
commita03185a3ecbc5a51fbae9c1790b6148f8c68b1be (patch)
tree2e02c5a7629e1d38f6b98f8c023b99eea876f236 /include/asm-generic
parent9d4445bc6dd314cc34aaeeac1c03d5bdb6761cca (diff)
downloadu-boot-a03185a3ecbc5a51fbae9c1790b6148f8c68b1be.zip
u-boot-a03185a3ecbc5a51fbae9c1790b6148f8c68b1be.tar.gz
u-boot-a03185a3ecbc5a51fbae9c1790b6148f8c68b1be.tar.bz2
dm: core: describe uclass_root_s
'make htmldocs' creates a warning: ./include/asm-generic/global_data.h:443: warning: Function parameter or member 'uclass_root_s' not described in 'global_data' Correct the member descriptions. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/global_data.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 19f7039..b6f707e 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -198,13 +198,21 @@ struct global_data {
*/
struct udevice *dm_root_f;
/**
- * @uclass_root: head of core tree
+ * @uclass_root_s:
+ * head of core tree when uclasses are not in read-only memory.
+ *
+ * When uclasses are in read-only memory, @uclass_root_s is not used and
+ * @uclass_root points to the root node generated by dtoc.
*/
struct list_head uclass_root_s;
/**
- * @uclass_root: pointer to head of core tree, if uclasses are in
- * read-only memory and cannot be adjusted to use @uclass_root as a
- * list head.
+ * @uclass_root:
+ * pointer to head of core tree, if uclasses are in read-only memory and
+ * cannot be adjusted to use @uclass_root as a list head.
+ *
+ * When not in read-only memory, @uclass_root_s is used to hold the
+ * uclass root, and @uclass_root points to the address of
+ * @uclass_root_s.
*/
struct list_head *uclass_root;
# if CONFIG_IS_ENABLED(OF_PLATDATA)