commit | 7719b39e71062a35aa10203641a231ea0835e990 | [log] [tgz] |
---|---|---|
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | Mon Sep 11 22:04:12 2017 +0200 |
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | Mon Sep 18 20:40:33 2017 +0200 |
tree | 6c1c54186ec70dfb19f6d41c925fdc78bc65f4cc | |
parent | 63cf24ad013f06e7dec4dce4cc3df998ac4ce5cd [diff] |
dm: core: add dev_read_addr_ptr() The dev_read_addr_ptr() mimics the behaviour of the devfdt_get_addr_ptr(), retrieving the first address of the node's reg-property and returning it as a pointer (or NULL on failure). Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>