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] configure environment from devicetree
Date: Tue, 16 Jul 2013 16:05:56 +0200	[thread overview]
Message-ID: <1373983566-27721-1-git-send-email-s.hauer@pengutronix.de> (raw)

This adds a driver which allows to configure the place where the
environment is stored from devicetree. The changes to the last
series I posted are:

- drop barebox specific partition driver and instead expect the
  partition nodes directly under the devicenode for the physical
  device.
- use /chosen instead of /chosen/barebox for barebox specific
  configuration drivers

Sascha

----------------------------------------------------------------
Sascha Hauer (10):
      of: partition: check for valid node
      of: Add convenience functions to en/disable devicenodes
      mtd: Add devicetree partition parsing
      mci: Add devicetree partition parsing
      Add configurability via devicetree
      ARM: i.MX Datamodul edmqx6: configure environment from devicetree
      ARM: i.MX51 babbage: configure environment from devicetree
      ARM: i.MX53 QSB: configure environment from devicetree
      ARM: i.MX51 efikasb: configure environment from devicetree
      ARM: i.MX6 tqma6x: configure environment from devicetree

 Documentation/devicetree/bindings/barebox.txt      |  10 ++
 .../bindings/barebox/barebox,environment.txt       |  25 ++++
 arch/arm/boards/dmo-mx6-realq7/board.c             |  26 ++--
 arch/arm/boards/efika-mx-smartbook/board.c         |  29 ++--
 arch/arm/boards/freescale-mx51-pdk/board.c         |   5 -
 arch/arm/boards/freescale-mx53-loco/board.c        |   4 -
 arch/arm/boards/tqma6x/board.c                     |   4 -
 arch/arm/configs/dmo-realq7_defconfig              |   1 +
 arch/arm/dts/imx51-babbage.dts                     |  12 ++
 arch/arm/dts/imx51-genesi-efika-sb.dts             |  26 ++++
 arch/arm/dts/imx53-qsb.dts                         |  12 ++
 arch/arm/dts/imx6dl-mba6x.dts                      |   5 +
 arch/arm/dts/imx6q-dmo-realq7.dts                  |  31 +++++
 arch/arm/dts/imx6q-mba6x.dts                       |   5 +
 drivers/mci/mci-core.c                             |   1 +
 drivers/mtd/core.c                                 |   1 +
 drivers/of/Kconfig                                 |   9 ++
 drivers/of/Makefile                                |   1 +
 drivers/of/barebox.c                               |  99 +++++++++++++
 drivers/of/base.c                                  |  65 +++++++++
 drivers/of/of_path.c                               | 155 +++++++++++++++++++++
 drivers/of/partition.c                             |   6 +
 include/of.h                                       |   7 +
 23 files changed, 491 insertions(+), 48 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/barebox.txt
 create mode 100644 Documentation/devicetree/bindings/barebox/barebox,environment.txt
 create mode 100644 drivers/of/barebox.c
 create mode 100644 drivers/of/of_path.c

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

             reply	other threads:[~2013-07-16 14:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16 14:05 Sascha Hauer [this message]
2013-07-16 14:05 ` [PATCH 01/10] of: partition: check for valid node Sascha Hauer
2013-07-16 14:05 ` [PATCH 02/10] of: Add convenience functions to en/disable devicenodes Sascha Hauer
2013-07-16 14:05 ` [PATCH 03/10] mtd: Add devicetree partition parsing Sascha Hauer
2013-07-16 14:06 ` [PATCH 04/10] mci: " Sascha Hauer
2013-07-16 14:06 ` [PATCH 05/10] Add configurability via devicetree Sascha Hauer
2013-07-16 14:06 ` [PATCH 06/10] ARM: i.MX Datamodul edmqx6: configure environment from devicetree Sascha Hauer
2013-07-16 14:06 ` [PATCH 07/10] ARM: i.MX51 babbage: " Sascha Hauer
2013-07-16 14:06 ` [PATCH 08/10] ARM: i.MX53 QSB: " Sascha Hauer
2013-07-16 14:06 ` [PATCH 09/10] ARM: i.MX51 efikasb: " Sascha Hauer
2013-07-16 14:06 ` [PATCH 10/10] ARM: i.MX6 tqma6x: " 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=1373983566-27721-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