mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Marc Reilly" <marc@cpdesign.com.au>
To: christian.buettner@rafi.de, barebox@lists.infradead.org
Subject: RE: boot init code depending on i2c eeprom value
Date: Fri, 3 Aug 2012 22:20:58 +1000	[thread overview]
Message-ID: <000001cd7172$744769a0$5cd63ce0$@cpdesign.com.au> (raw)
In-Reply-To: <OF95E0712B.359A103D-ONC1257A4F.002B3A1C-C1257A4F.002C899A@o0802.rafi.inhouse>

Hi,

>i need to set the pin-mux of the board init code depending on an ID coming
from 
>an i2C EEPROM of the board. 
>Is it possible to do something like this: 

>postcore_initcall(ecuv6_postcore_init); 
> console_initcall(ecuv6_console_init); 
>Actually this is not working. The i2c_imx:i2c_imx_probe(..) function gets
called later. 
>Is there a way or concept to do something like this? 

Do it (all) in a device_initcall() function?

Cheers,
Marc




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

  reply	other threads:[~2012-08-03 12:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03  8:06 christian.buettner
2012-08-03 12:20 ` Marc Reilly [this message]
2012-08-03 13:21 ` Sascha Hauer
2012-08-07 13:54   ` Antwort: " christian.buettner

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='000001cd7172$744769a0$5cd63ce0$@cpdesign.com.au' \
    --to=marc@cpdesign.com.au \
    --cc=barebox@lists.infradead.org \
    --cc=christian.buettner@rafi.de \
    /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