linux-mips
[Top] [All Lists]

[PATCH 0/2] of: Allow scripts/dtc/libfdt to be used from kernel code and

To: linux-mips@linux-mips.org, ralf@linux-mips.org, devicetree-discuss@lists.ozlabs.org, grant.likely@secretlab.ca, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] of: Allow scripts/dtc/libfdt to be used from kernel code and more...
From: ddaney.cavm@gmail.com
Date: Thu, 10 Nov 2011 17:11:27 -0800
Cc: David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=36L341+dZovcUHbZPF6elEJzA9UDmiYsyBP6Yoh065I=; b=RAxIa/oNYtZOTl/6a8GuaEd0OJpD/hxSozHrCK7UOpqZ4af1K3r5V2aC6JxSVNj5Bd Hdhmib70Y+NcksduQVukG9MMTP6ciUoApKE5ABrdOiRNGNBrav5ASh9IHCLs5qj1UpBm /qrp6KsJ7cBgFjESyvAVVOxwE8IP5kDhL/iF8=
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

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


<Prev in Thread] Current Thread [Next in Thread>