From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Is anyone working on NAND support for Armada-XP?
Date: Tue, 24 Feb 2015 21:33:01 +0100 [thread overview]
Message-ID: <201502242133.02089.marex@denx.de> (raw)
In-Reply-To: <CAFOYHZDiONvGpCJ-U8c=xrQaG21MD5Bci8smDks8EoOr=bW_kw@mail.gmail.com>
On Tuesday, February 24, 2015 at 09:03:15 PM, Chris Packham wrote:
> On Wed, Feb 25, 2015 at 8:43 AM, Marek Vasut <marex@denx.de> wrote:
> > On Tuesday, February 24, 2015 at 06:18:00 AM, Chris Packham wrote:
> >> Hi,
> >
> > Hi,
> >
> >> I find myself in need of a NAND flash controller.
> >>
> >> I could probably massage the one from Marvell's bootloader into shape
> >> which actually appears to be based on the pxa3xx_nand.c driver from
> >> Linux. It appears that there was some effort put into adding a pxa3xx
> >> driver a while back[1] but that thread appears to end with the patch
> >> being dropped.
> >
> > Yeah, I never got to fixing it proper in the end.
>
> Was the old attempt a port or an implementation from scratch?
The one from OpenPXA was a port of the PXA3xx NAND driver from Linux.
It was done by Igor Grinberg to my knowledge.
> >> Is there anything more current that I could nudge along? Or should I
> >> just start with porting Marvell's one.
> >
> > Maybe you should just start porting the PXA3xx one from Linux ? That
> > one is the highest quality right now to my knowledge.
>
> Any idea of of how close to "the u-boot way" the Linux driver is? I
> haven't started looking at it yet.
The MTD subsystem in U-Boot is imported from Linux and periodically synced.
This task should be pretty easy.
> I might need to do something expedient for my needs right now and come
> back to doing a proper port later. The Marvell one is at least
> implemented for u-boot, albeit v2013.01 and with their horrible USP
> style. But if the port from Linux is relatively trivial it might be
> easier to do than to catch the Marvell code up with 2 years of u-boot
> development.
Well, I can understand why you'd like to avoid Marvell BSP all right ;-)
Best regards,
Marek Vasut
prev parent reply other threads:[~2015-02-24 20:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 5:18 [U-Boot] Is anyone working on NAND support for Armada-XP? Chris Packham
2015-02-24 19:43 ` Marek Vasut
2015-02-24 20:03 ` Chris Packham
2015-02-24 20:33 ` Marek Vasut [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=201502242133.02089.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