summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-04-25 13:32:58 -0400
committerTom Rini <trini@konsulko.com>2016-04-25 13:32:58 -0400
commitd30c3eb47155742deab7b6b4599097a56bd635aa (patch)
tree51739f378b781e7a5afd094798efd09af309e19e /include
parent3aee11c8ee7aa1e293a8a8fe83b362ca12c08d15 (diff)
parentba5da550ae1d955e53691e51cd74a27331ca3b3c (diff)
downloadu-boot-imx-d30c3eb47155742deab7b6b4599097a56bd635aa.zip
u-boot-imx-d30c3eb47155742deab7b6b4599097a56bd635aa.tar.gz
u-boot-imx-d30c3eb47155742deab7b6b4599097a56bd635aa.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Diffstat (limited to 'include')
-rw-r--r--include/dm/device.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index dad7591..8970fc0 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -454,6 +454,16 @@ int device_find_next_child(struct udevice **devp);
fdt_addr_t dev_get_addr(struct udevice *dev);
/**
+ * dev_get_addr_ptr() - Return pointer to the address of the reg property
+ * of a device
+ *
+ * @dev: Pointer to a device
+ *
+ * @return Pointer to addr, or NULL if there is no such property
+ */
+void *dev_get_addr_ptr(struct udevice *dev);
+
+/**
* dev_get_addr_index() - Get the indexed reg property of a device
*
* @dev: Pointer to a device