mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH v2] devicetree support
Date: Tue, 18 Oct 2011 13:56:55 +0200	[thread overview]
Message-ID: <1318939019-32713-1-git-send-email-s.hauer@pengutronix.de> (raw)

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

             reply	other threads:[~2011-10-18 11:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-18 11:56 Sascha Hauer [this message]
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

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=1318939019-32713-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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