commit | f7bfcc41c4e481c85a6a61eb172ce7a897c0c306 | [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 | f25fe395757046e463bea6bfe5f82ecf15a6a23c [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>