From: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
To: <grant.likely@secretlab.ca>, <dirk.brandewie@gmail.com>,
<devicetree-discuss@lists.ozlabs.org>,
<linuxppc-dev@lists.ozlabs.org>,
<microblaze-uclinux@itee.uq.edu.au>
Subject: [PATCH 0/7] add of_fdt_unflatten_tree
Date: Thu, 18 Nov 2010 15:54:55 -0800 [thread overview]
Message-ID: <cce2a5ec-536b-4668-8bbe-ae413cb435ac@VA3EHSMHS006.ehs.local> (raw)
In-Reply-To: <1290021345-4303-1-git-send-email-stephen.neuendorffer@xilinx.com>
Currently, fdt blobs are handled solely at boot time. However,
it may be useful to parse blobs into device trees after boot time. For
instance, a PCIe device may have an FPGA which includes a device
tree. This set of patches locally refactors the existing code to enable
this.
Patch 1 and 4-7 are the interesting bits.
Patch 2 and 3 provide the ability to use this code on x86, and are provided mostly for reference.
The non-early boot code has been compile-tested and executed on X86.
Stephen Neuendorffer (7):
fdt: Add Kconfig for EARLY_FLATTREE
arch/x86: Add support for device tree code.
arch/x86: select OF and OF_FLATTREE
fdt.c: Add non-boottime device tree functions
fdt.c: Refactor unflatten_dt_node
fdt.c: Reorder unflatten_dt_node
fdt.c: Refactor unflatten_device_tree and add fdt_unflatten_tree
arch/microblaze/Kconfig | 1 +
arch/powerpc/Kconfig | 1 +
arch/x86/Kconfig | 2 +
arch/x86/include/asm/irq.h | 2 +
arch/x86/kernel/irq.c | 11 ++
drivers/of/Kconfig | 5 +
drivers/of/fdt.c | 393 ++++++++++++++++++++++++++------------------
include/linux/of_fdt.h | 13 ++
8 files changed, 272 insertions(+), 156 deletions(-)
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
next parent reply other threads:[~2010-11-18 23:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1290021345-4303-1-git-send-email-stephen.neuendorffer@xilinx.com>
2010-11-18 23:54 ` Stephen Neuendorffer [this message]
[not found] ` <1290124502-13125-1-git-send-email-stephen.neuendorffer@xilinx.com>
2010-11-18 23:54 ` [PATCH 1/7] fdt: Add Kconfig for EARLY_FLATTREE Stephen Neuendorffer
2010-12-30 0:15 ` Grant Likely
[not found] ` <1290124502-13125-2-git-send-email-stephen.neuendorffer@xilinx.com>
2010-11-18 23:54 ` [PATCH 2/7] arch/x86: Add support for device tree code Stephen Neuendorffer
2010-12-30 0:17 ` Grant Likely
[not found] ` <1290124502-13125-3-git-send-email-stephen.neuendorffer@xilinx.com>
2010-11-18 23:54 ` [PATCH 3/7] arch/x86: select OF and OF_FLATTREE Stephen Neuendorffer
2010-12-30 0:17 ` Grant Likely
[not found] ` <1290124502-13125-4-git-send-email-stephen.neuendorffer@xilinx.com>
2010-11-18 23:54 ` [PATCH 4/7] fdt.c: Add non-boottime device tree functions Stephen Neuendorffer
2010-12-30 0:34 ` Grant Likely
[not found] ` <1290124502-13125-5-git-send-email-stephen.neuendorffer@xilinx.com>
2010-11-18 23:55 ` [PATCH 5/7] fdt.c: Refactor unflatten_dt_node Stephen Neuendorffer
2010-12-30 0:35 ` Grant Likely
[not found] ` <1290124502-13125-6-git-send-email-stephen.neuendorffer@xilinx.com>
2010-11-18 23:55 ` [PATCH 6/7] fdt.c: Reorder unflatten_dt_node Stephen Neuendorffer
2010-12-30 0:36 ` Grant Likely
[not found] ` <1290124502-13125-7-git-send-email-stephen.neuendorffer@xilinx.com>
2010-11-18 23:55 ` [PATCH 7/7] fdt.c: Refactor unflatten_device_tree and add fdt_unflatten_tree Stephen Neuendorffer
2010-12-30 0:43 ` Grant Likely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cce2a5ec-536b-4668-8bbe-ae413cb435ac@VA3EHSMHS006.ehs.local \
--to=stephen.neuendorffer@xilinx.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=dirk.brandewie@gmail.com \
--cc=grant.likely@secretlab.ca \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=microblaze-uclinux@itee.uq.edu.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox