[U-Boot] [PATCH v3 05/72] dm: Add a function to create a 'live' device tree

sjg at google.com sjg at google.com
Thu May 25 00:07:09 UTC 2017


This function converts the flat device tree into a hierarchical one with
C structures and pointers. This is easier to access.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3: None
Changes in v2: None

 include/of_live.h |  24 ++++
 lib/Makefile      |   1 +
 lib/of_live.c     | 333 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 358 insertions(+)
 create mode 100644 include/of_live.h
 create mode 100644 lib/of_live.c

Applied to u-boot-dm


More information about the U-Boot mailing list