From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] mmc: mxsmmc: Fix operation with DMA
Date: Mon, 2 Apr 2012 21:03:02 +0200 [thread overview]
Message-ID: <201204022103.02717.marex@denx.de> (raw)
In-Reply-To: <CAOMZO5BF5mD1vLhribKKrT5_-9Fszbx9z2OR4yovDTkRpZVGwg@mail.gmail.com>
Dear Fabio Estevam,
> On Mon, Apr 2, 2012 at 3:39 PM, Marek Vasut <marex@denx.de> wrote:
> > This mxs_dma_desc_alloc() is called in a loop in the MXS NAND driver,
> > this is even worse ;-)
> >
> > Possibly some common mx28 init code would be better?
>
> If I put it in mx28.c like that:
>
> +++ b/arch/arm/cpu/arm926ejs/mx28/mx28.c
> @@ -172,6 +172,8 @@ int arch_cpu_init(void)
> */
> mxs_gpio_init();
>
> + mxs_dma_init();
> +
> return 0;
> }
> #endif
>
> ,MMC still fails.
Because that's called before relocation ;-)
>
> Still looking for a good place for calling mxs_dma_init();
Best regards,
Marek Vasut
next prev parent reply other threads:[~2012-04-02 19:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-02 18:24 [U-Boot] [PATCH v2] mmc: mxsmmc: Fix operation with DMA Fabio Estevam
2012-04-02 18:39 ` Marek Vasut
2012-04-02 18:54 ` Fabio Estevam
2012-04-02 19:03 ` Marek Vasut [this message]
2012-04-02 19:18 ` Fabio Estevam
2012-04-02 19:26 ` Marek Vasut
2012-04-02 19:30 ` Anatolij Gustschin
2012-04-02 19:38 ` Marek Vasut
2012-04-02 19:50 ` Fabio Estevam
2012-04-02 19:54 ` Marek Vasut
2012-04-02 20:44 ` Fabio Estevam
2012-04-02 20:52 ` Marek Vasut
2012-04-02 20:54 ` Fabio Estevam
2012-04-02 21:00 ` Marek Vasut
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=201204022103.02717.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.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