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 <s...@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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to