mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Fadil Berisha <f.koliqi@gmail.com>
Cc: barebox@lists.infradead.org, Juergen Beisert <jbe@pengutronix.de>
Subject: Re: barebox on imx23-olinuxino
Date: Tue, 4 Sep 2012 22:47:25 +0200	[thread overview]
Message-ID: <20120904204725.GA26594@pengutronix.de> (raw)
In-Reply-To: <CACO6GO68_8oLS2caknd=+j1C5ewdWtR65tTfwa_gviPYEjuSsQ@mail.gmail.com>

On Sun, Sep 02, 2012 at 01:25:01AM -0400, Fadil Berisha wrote:
> Juergen,
> 
> Sorry, for replying so late, but took me time to identify problem.
>  I am using function:
> 
> add_generic_device("mxs_mci", DEVICE_ID_DYNAMIC, NULL, IMX_SSP1_BASE, 0,
> 			       IORESOURCE_MEM, &mci_pdata);
>

The problem is the 5th parameter. It is the size of the memory resource.
When speicified as 0 you will not be able to request it. It seems we
still have not catched all of these. We should probably add a warning
if someone tries to register a device with a valid resource but size =
0.

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

  reply	other threads:[~2012-09-04 20:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-27 15:37 Fadil Berisha
2012-08-27 18:01 ` Juergen Beisert
2012-09-02  5:25   ` Fadil Berisha
2012-09-04 20:47     ` Sascha Hauer [this message]
2012-09-04 21:23       ` Fadil Berisha

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=20120904204725.GA26594@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=f.koliqi@gmail.com \
    --cc=jbe@pengutronix.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