commit | c131c8bca86b428daef7a25c26a96af42658be21 | [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 | af823151641b1a9a8eae8c3b111f5fa27e6873ac [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>