
25 May
2017
25 May
'17
2:07 a.m.
Add functions to access addresses in the device tree. These are brought in from Linux 4.10.
Also fix up the header guard for fdtaddr.h to avoid confusion.
Signed-off-by: Simon Glass sjg@chromium.org ---
Changes in v3: - Fix up the fdtaddr.h header guard to avoid conflicts
Changes in v2: None
drivers/core/Makefile | 2 +- drivers/core/of_addr.c | 359 +++++++++++++++++++++++++++++++++++++++++++++++++ include/dm/fdtaddr.h | 4 +- include/dm/of_addr.h | 64 +++++++++ 4 files changed, 426 insertions(+), 3 deletions(-) create mode 100644 drivers/core/of_addr.c create mode 100644 include/dm/of_addr.h
Applied to u-boot-dm