[U-Boot] [PATCH v3 09/72] dm: core: Add livetree address functions
sjg at google.com
sjg at google.com
Thu May 25 00:07:03 UTC 2017
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 at 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
More information about the U-Boot
mailing list