mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2] devicetree support
@ 2011-10-18 11:56 Sascha Hauer
  2011-10-18 11:56 ` [PATCH 1/4] initial libfdt support Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Sascha Hauer @ 2011-10-18 11:56 UTC (permalink / raw)
  To: barebox

This is the second version of devicetree support for ARM.
Changes since v1:

- Move most code except the command from commands/oftree.c to common/oftree.c
  so that the code can be used independent of the command
- add a function to fixup the memory nodes

Next step would be to rework the ppc code to use the new libfdt support
and remove the old (so far ppc only) devicetree support.

Sascha Hauer (4):
      initial libfdt support
      initial oftree command support
      ARM Linux: Add device tree support
      oftree: add fixup for memory nodes

 arch/arm/lib/armlinux.c   |   15 +-
 commands/Kconfig          |    6 +
 commands/Makefile         |    1 +
 commands/oftree.c         |  135 +++++
 common/Makefile           |    1 +
 common/memory.c           |   80 +++
 common/oftree.c           |  312 ++++++++++++
 include/fdt.h             |   60 +++
 include/libfdt.h          | 1235 +++++++++++++++++++++++++++++++++++++++++++++
 include/libfdt_env.h      |   24 +
 include/of.h              |   21 +
 lib/Kconfig               |    6 +
 lib/Makefile              |    4 +
 lib/fdt/Makefile          |    2 +
 lib/fdt/TODO              |    3 +
 lib/fdt/fdt.c             |  222 ++++++++
 lib/fdt/fdt_ro.c          |  574 +++++++++++++++++++++
 lib/fdt/fdt_rw.c          |  465 +++++++++++++++++
 lib/fdt/fdt_strerror.c    |   96 ++++
 lib/fdt/fdt_sw.c          |  256 ++++++++++
 lib/fdt/fdt_wip.c         |  118 +++++
 lib/fdt/libfdt_internal.h |   95 ++++
 22 files changed, 3728 insertions(+), 3 deletions(-)
 create mode 100644 commands/oftree.c
 create mode 100644 common/oftree.c
 create mode 100644 include/fdt.h
 create mode 100644 include/libfdt.h
 create mode 100644 include/libfdt_env.h
 create mode 100644 include/of.h
 create mode 100644 lib/fdt/Makefile
 create mode 100644 lib/fdt/TODO
 create mode 100644 lib/fdt/fdt.c
 create mode 100644 lib/fdt/fdt_ro.c
 create mode 100644 lib/fdt/fdt_rw.c
 create mode 100644 lib/fdt/fdt_strerror.c
 create mode 100644 lib/fdt/fdt_sw.c
 create mode 100644 lib/fdt/fdt_wip.c
 create mode 100644 lib/fdt/libfdt_internal.h

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-18 15:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-18 11:56 [PATCH v2] devicetree support Sascha Hauer
2011-10-18 11:56 ` [PATCH 1/4] initial libfdt support Sascha Hauer
2011-10-18 14:39   ` Jean-Christophe PLAGNIOL-VILLARD
2011-10-18 11:56 ` [PATCH 2/4] initial oftree command support Sascha Hauer
2011-10-18 11:56 ` [PATCH 3/4] ARM Linux: Add device tree support Sascha Hauer
2011-10-18 11:56 ` [PATCH 4/4] oftree: add fixup for memory nodes Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox