aboutsummaryrefslogtreecommitdiff
path: root/include/dm/ofnode.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-29 08:20:06 -0400
committerTom Rini <trini@konsulko.com>2021-07-29 08:20:06 -0400
commit38436abd5e58044eccddbcd7ec3610a9104e86b6 (patch)
tree328cb2b1b355964ab196f3d5ba4bb7134d74d8a3 /include/dm/ofnode.h
parentbbcacdf4cd23f2e5deb9ef916096c956c955243d (diff)
parenta6c64d255e5117bcf78aec6911d7c034fbfe46f7 (diff)
Merge tag 'ti-v2021.10-rc2' of https://source.denx.de/u-boot/custodians/u-boot-ti
- Add MMC High speed modes for AM64 and J7200 - Add Sierra/Torrent SERDES driver - Minor clean-ups for R5F boot from SPL
Diffstat (limited to 'include/dm/ofnode.h')
-rw-r--r--include/dm/ofnode.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 3da05d8b21..4e1a8447e6 100644
--- a/include/dm/ofnode.h
+++ b/include/dm/ofnode.h
@@ -232,6 +232,16 @@ static inline ofnode ofnode_root(void)
}
/**
+ * ofnode_name_eq() - Check if the node name is equivalent to a given name
+ * ignoring the unit address
+ *
+ * @node: valid node reference that has to be compared
+ * @name: name that has to be compared with the node name
+ * @return true if matches, false if it doesn't match
+ */
+bool ofnode_name_eq(ofnode node, const char *name);
+
+/**
* ofnode_read_u32() - Read a 32-bit integer from a property
*
* @ref: valid node reference to read property from