mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: barebox@lists.infradead.org, Brian Lilly <brian@crystalfontz.com>
Subject: Re: [PATCHv2 0/3] ARM: cfa10036: Load a different DTB depending on variants
Date: Fri, 14 Dec 2012 08:36:53 +0100	[thread overview]
Message-ID: <20121214073653.GM10369@pengutronix.de> (raw)
In-Reply-To: <1355394405-18814-1-git-send-email-maxime.ripard@free-electrons.com>

On Thu, Dec 13, 2012 at 11:26:42AM +0100, Maxime Ripard wrote:
> Hi,
> 
> The CFA-10036 is actually a module that can be plugged in an expansion board.
> 
> For now, there is only two of these expansion boards, the CFA-10037 and the
> CFA-10049, with different features, muxing and so on.
> 
> So, at boot time, the cfa-10036 has to be aware that it runs on an expansion
> board and if so, which expansion board it is currently plugged in, so that it
> can load the right device tree.
> 
> This is done thanks to an eeprom found at the same address on the same bus on
> the expansion boards, that holds the expansion board id, so we can know all of
> this.
> 
> This patchset does exactly that. It first adds support for the AT24, and then
> the needed bits to retrieve the board variants from the eeprom if any and load
> the right DTB.
> 
> Thanks,
> Maxime
> 
> Changes from v2:
>   - Changed the environment variable name and change it to a global variable
> 
> Maxime Ripard (3):
>   ARM: cfa10036: Add the AT24HC02 I2C EEPROM
>   ARM: cfa10036: Retrieve the board variant from the AT24
>   ARM: cfa10036: Use the board variant to load a different device tree

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

      parent reply	other threads:[~2012-12-14  7:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 10:26 Maxime Ripard
2012-12-13 10:26 ` [PATCH 1/3] ARM: cfa10036: Add the AT24HC02 I2C EEPROM Maxime Ripard
2012-12-13 10:26 ` [PATCH 2/3] ARM: cfa10036: Retrieve the board variant from the AT24 Maxime Ripard
2012-12-13 10:26 ` [PATCH 3/3] ARM: cfa10036: Use the board variant to load a different device tree Maxime Ripard
2012-12-14  7:36 ` Sascha Hauer [this message]

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=20121214073653.GM10369@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=brian@crystalfontz.com \
    --cc=maxime.ripard@free-electrons.com \
    /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