aboutsummaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-09-24 12:43:00 -0400
committerTom Rini <trini@konsulko.com>2023-09-24 12:43:00 -0400
commit90c81f407dd4a7747385b10f9b8f732202c45cde (patch)
treee7200b32d45c2754df3f9445a48b6d113d968a33 /include/dm
parent1e94b46f73cedcebbff73799203f3266c5b28d90 (diff)
parentae84514feee209091d331a8baaa344ed8d8e905b (diff)
downloadu-boot-90c81f407dd4a7747385b10f9b8f732202c45cde.zip
u-boot-90c81f407dd4a7747385b10f9b8f732202c45cde.tar.gz
u-boot-90c81f407dd4a7747385b10f9b8f732202c45cde.tar.bz2
Merge tag 'dm-next-23sep23' of https://source.denx.de/u-boot/custodians/u-boot-dm into nextWIP/24Sep2023
buildman file-keeping and build-progress improvements dm tree enhancement adjust meaning of bootph-pre-ram/sram
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/ofnode.h8
-rw-r--r--include/dm/util.h15
2 files changed, 15 insertions, 8 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 06ea68e..06c969c 100644
--- a/include/dm/ofnode.h
+++ b/include/dm/ofnode.h
@@ -1211,15 +1211,15 @@ int ofnode_read_simple_size_cells(ofnode node);
* determine if a node was bound in one of SPL/TPL stages.
*
* There are 4 settings currently in use
- * - bootph-some-ram: U-Boot proper pre-relocation only
+ * - bootph-some-ram: U-Boot proper pre-relocation phase
* - bootph-all: all phases
* Existing platforms only use it to indicate nodes needed in
* SPL. Should probably be replaced by bootph-pre-ram for new platforms.
- * - bootph-pre-ram: SPL and U-Boot pre-relocation
- * - bootph-pre-sram: TPL and U-Boot pre-relocation
+ * - bootph-pre-ram: SPL phase
+ * - bootph-pre-sram: TPL phase
*
* @node: node to check
- * Return: true if node is needed in SPL/TL, false otherwise
+ * Return: true if node should be or was bound, false otherwise
*/
bool ofnode_pre_reloc(ofnode node);
diff --git a/include/dm/util.h b/include/dm/util.h
index 4bb49e9..89206cc 100644
--- a/include/dm/util.h
+++ b/include/dm/util.h
@@ -27,14 +27,21 @@ struct list_head;
int list_count_items(struct list_head *head);
/**
- * Dump out a tree of all devices
+ * Dump out a tree of all devices starting @uclass
*
+ * @dev_name: udevice name
+ * @extended: true if forword-matching expected
* @sort: Sort by uclass name
*/
-void dm_dump_tree(bool sort);
+void dm_dump_tree(char *dev_name, bool extended, bool sort);
-/* Dump out a list of uclasses and their devices */
-void dm_dump_uclass(void);
+/*
+ * Dump out a list of uclasses and their devices
+ *
+ * @uclass: uclass name
+ * @extended: true if forword-matching expected
+ */
+void dm_dump_uclass(char *uclass, bool extended);
#ifdef CONFIG_DEBUG_DEVRES
/* Dump out a list of device resources */