[U-Boot] [PATCH v3 04/72] dm: core: Add livetree access functions

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


Add a basic assortment of functions to access the live device tree. These
come from Linux v4.9 and are modified for U-Boot to the minimum extent
possible. While these functions are now very stable in Linux, it will be
possible to merge in fixes if needed.

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

Changes in v3: None
Changes in v2: None

 drivers/core/Makefile    |   1 +
 drivers/core/of_access.c | 735 +++++++++++++++++++++++++++++++++++++++++++++++
 include/dm/of_access.h   | 347 ++++++++++++++++++++++
 3 files changed, 1083 insertions(+)
 create mode 100644 drivers/core/of_access.c
 create mode 100644 include/dm/of_access.h

Applied to u-boot-dm


More information about the U-Boot mailing list