Skip to content

RFC Merge common OpenFirmware device tree code

Grant Likely linux-devicetree linuxppc-dev sparclinux 1 version In review

Get series with b4
b4 am 20091007041007.16890.62194.stgit@angua

Versions newest first

  1. v1 RFC Latest10 of 12 patches 34 repliesIn review

10 of 12 patches are in this archive. The cover letter announces 12.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/12of: merge phandle, ihandle and struct propertyarch/microblaze/include/asm/prom.h arch/powerpc/include/asm/prom.h arch/sparc/include/asm/prom.h +1 more+12 -340 replies
4/12of: Move OF_IS_DYNAMIC and OF_MARK_DYNAMIC macros to of.harch/sparc/include/asm/prom.h include/linux/of.h+3 -30 replies
5/12of: add common header for flattened device tree representationarch/microblaze/include/asm/prom.h arch/powerpc/include/asm/prom.h include/linux/of_fdt.h+32 -229 replies
6/12of: merge struct boot_param_header from Microblaze and PowerPCarch/microblaze/include/asm/prom.h arch/powerpc/include/asm/prom.h include/linux/of_fdt.h+30 -610 replies
7/12of: merge of_node_*_flag() and set_node_proc_entry()arch/microblaze/include/asm/prom.h arch/powerpc/include/asm/prom.h include/linux/of.h+16 -330 replies
8/12of: merge of_read_number() an of_read_ulong()arch/microblaze/include/asm/prom.h arch/powerpc/include/asm/prom.h include/linux/of.h+23 -320 replies
9/12of: merge of_node_get(), of_node_put() and of_find_all_nodes()arch/microblaze/include/asm/prom.h arch/powerpc/include/asm/prom.h arch/sparc/include/asm/prom.h +1 more+16 -170 replies
10/12of: merge of_*_flat_dt*() functionsarch/microblaze/include/asm/prom.h arch/powerpc/include/asm/prom.h include/linux/of_fdt.h+14 -212 replies
11/12of: merge other miscellaneous prototypesarch/microblaze/include/asm/prom.h arch/powerpc/include/asm/prom.h include/linux/of_fdt.h+13 -260 replies
12/12of: merge of_find_all_nodes() implementationsarch/microblaze/kernel/prom.c arch/powerpc/kernel/prom.c drivers/of/base.c +1 more+27 -480 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid S. MillerWolfram SangStephen Neuendorffer
SeriesA-b A-b A-b
2/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [RFC PATCH 00/12] Merge common OpenFirmware device tree code

Well, I've got to start somewhere...

So here goes. I've begun the work to merge and clean up the OF device tree handling code and this is my first set of patches. Not fully tested yet, but I'm getting them out to the lists so that I can start responding to comments and collecting acks. This first batch isn't anything exciting, just a merge of common code

---

Grant Likely (12):
of: merge of_find_all_nodes() implementations
of: merge other miscellaneous prototypes
of: merge of_*_flat_dt*() functions
of: merge of_node_get(), of_node_put() and of_find_all_nodes()
of: merge of_read_number() an of_read_ulong()
of: merge of_node_*_flag() and set_node_proc_entry()
of: merge struct boot_param_header from Microblaze and PowerPC
of: add common header for flattened device tree representation
of: Move OF_IS_DYNAMIC and OF_MARK_DYNAMIC macros to of.h
of: merge struct device_node
of: merge phandle, ihandle and struct property
of: Rework linux/of.h and asm/prom.h include ordering

 arch/microblaze/include/asm/prom.h |  135 +--------------------------------
 arch/microblaze/kernel/prom.c      |   23 ------
 arch/powerpc/include/asm/prom.h    |  147 ------------------------------------
 arch/powerpc/kernel/prom.c         |   23 ------
 arch/sparc/include/asm/prom.h      |   55 -------------
 drivers/of/base.c                  |   26 ++++++
 include/linux/of.h                 |  103 +++++++++++++++++++++++++
 include/linux/of_fdt.h             |   87 +++++++++++++++++++++
 8 files changed, 221 insertions(+), 378 deletions(-)
 create mode 100644 include/linux/of_fdt.h
Signature · 1 line
Signature