[U-Boot] [PATCH v3 12/72] dm: core: Add a place to put extra device-tree reading functions
sjg at google.com
sjg at google.com
Thu May 25 00:06:59 UTC 2017
Some functions deal with structured data rather than simple data types.
It makes sense to have these in their own file. For now this just has a
function to read a flashmap entry. Move the data types also.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3: None
Changes in v2: None
drivers/core/Makefile | 2 +-
drivers/core/of_extra.c | 37 +++++++++++++++++++++++++++++++++++++
include/cros_ec.h | 1 +
include/dm/of_extra.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++
include/fdtdec.h | 23 +----------------------
lib/fdtdec.c | 1 +
6 files changed, 87 insertions(+), 23 deletions(-)
create mode 100644 drivers/core/of_extra.c
create mode 100644 include/dm/of_extra.h
Applied to u-boot-dm
More information about the U-Boot
mailing list