[PATCH 0/2] of: Allow scripts/dtc/libfdt to be used from kernel code and more...
From: <hidden>
Date: 2011-11-11 01:11:38
Also in:
linux-mips, lkml
From: David Daney <david.daney-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org> My next patch set for OCTEON device tree support relies on these two patches. I split these out as they are architecture independent. I iterated on these several times under the guise of an RFC, this is their first appearance as a request to be merged. Thanks, David Daney (2): of/lib: Allow scripts/dtc/libfdt to be used from kernel code of: Make of_find_node_by_path() traverse /aliases for relative paths. drivers/of/base.c | 65 +++++++++++++++++++++++++++++++++++++++++-- include/linux/libfdt.h | 8 +++++ include/linux/libfdt_env.h | 13 +++++++++ lib/Kconfig | 6 ++++ lib/Makefile | 5 +++ lib/fdt.c | 2 + lib/fdt_ro.c | 2 + lib/fdt_rw.c | 2 + lib/fdt_strerror.c | 2 + lib/fdt_sw.c | 2 + lib/fdt_wip.c | 2 + 11 files changed, 106 insertions(+), 3 deletions(-) create mode 100644 include/linux/libfdt.h create mode 100644 include/linux/libfdt_env.h create mode 100644 lib/fdt.c create mode 100644 lib/fdt_ro.c create mode 100644 lib/fdt_rw.c create mode 100644 lib/fdt_strerror.c create mode 100644 lib/fdt_sw.c create mode 100644 lib/fdt_wip.c -- 1.7.2.3