commit | dcf988525f6e2045b9122ba7c3bf6a9bf44f146e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jul 25 08:29:55 2017 -0600 |
committer | Simon Glass <sjg@chromium.org> | Fri Jul 28 12:02:47 2017 -0600 |
tree | 066e1e3e7a3f2aaceb5e407f85cf2a39ff1b486d | |
parent | c61d0009feb966e0e93254a8c435a1889085e6b8 [diff] |
dm: core: Add ofnode_read_resource() We sometimes need to read a resource from an arbitrary node. In any case for consistency we should not put the live-tree switching code in a dev_read_...() function. Update this to suit. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1 Tested-by: Stephen Warren <swarren@nvidia.com>