[U-Boot] [PATCH v5 01/20] dm: core: Add ofnode_read_resource()
sjg at google.com
sjg at google.com
Fri Jul 28 18:44:06 UTC 2017
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 at chromium.org>
Tested-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
Tested-on: Beaver, Jetson-TK1
---
Changes in v5: None
Changes in v4:
- Add new patch to add ofnode_read_resource()
Changes in v3: None
Changes in v2: None
drivers/core/ofnode.c | 21 +++++++++++++++++++++
drivers/core/read.c | 5 +++++
drivers/core/read_extra.c | 25 +------------------------
include/dm/ofnode.h | 4 ++++
include/dm/read.h | 26 ++++++++++++++++----------
5 files changed, 47 insertions(+), 34 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list