linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Sequoia NAND
@ 2008-02-17 11:39 Steve Heflin
  2008-02-17 13:18 ` Josh Boyer
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Heflin @ 2008-02-17 11:39 UTC (permalink / raw)
  To: linuxppc-embedded

I don't see where the new powerpc architecture and drivers/mtd/nand 
contains support for the NAND chip on the Sequoia platform.  We have 
a Linux 2.6.14 kit where Montavista has a driver in "sequoia_nand.c" 
which interfaces with the NAND device via NAND Flash Control registers:
    struct ppc440ep_ndfc_regs *sequoia_ndfc;
where:
    struct ppc440ep_ndfc_regs {
         uint cmd;
         uint addr;
         uint data;
         uint reserved1;
         uint ecc0;
         uint ecc1;
         uint ecc2;
         uint ecc3;
         uint ecc4;
         uint ecc5;
         uint ecc6;
         uint ecc7;
         uint b0cr;
         uint b1cr;
         uint b2cr;
         uint b3cr;
         uint cr;
         uint sr;
         uint hwctl;
         uint reserved2;
         uint revid;
};

Is the Sequoia's NAND Flash Controller supported in the current Linux-2.6.25?

thanks,
Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Sequoia NAND - others missing?
@ 2008-02-18 16:18 Steve Heflin
  0 siblings, 0 replies; 6+ messages in thread
From: Steve Heflin @ 2008-02-18 16:18 UTC (permalink / raw)
  To: Linuxppc-embedded

Looking at the "arch/ppc/platforms/4xx/sequoia.c" from 2.6.14 
MontaVista, I also see ECC error handling, a Serial RTC device, UART4 
to UART11. It doesn't look like those are supported in the current 
"arch/powerpc/platforms/44x/sequoia" ?

Regarding the nftd NAND driver, I see a device table hookup in 
"arch/powerpc/platforms/44x/warp-nand.c".  Am I right in saying that 
file is a perfect template from which to generate sequoia-nand.c ?

thanks,
Steve


At 03:56 PM 2/17/2008, you wrote:
>On Sun, 17 Feb 2008 10:27:22 -0500
>Steve Heflin <sheflin@newagemicro.com> wrote:
>
> > Are there other devices (beside the NAND Flash Controller) that exist
> > on the AMCC-440EPx chip and are not supported by the current
> > Linux-2.6.25 ARCH=powerpc?
>
>i2c, GPIO, the security stuff (if your version has that), and GPT.
>Thought GPT has never really been supported in any kernel that I
>remember.
>
>Patches for i2c and GPIO are floating around somewhere I think.  Just
>need to get them polished up and device-tree compliant.
>
>josh
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-18 16:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-17 11:39 Sequoia NAND Steve Heflin
2008-02-17 13:18 ` Josh Boyer
2008-02-17 15:27   ` Sequoia NAND - others missing? Steve Heflin
2008-02-17 15:27   ` Steve Heflin
     [not found]   ` <47b8524c.1286460a.1307.7530SMTPIN_ADDED@mx.google.com>
2008-02-17 20:56     ` Josh Boyer
  -- strict thread matches above, loose matches on Subject: below --
2008-02-18 16:18 Steve Heflin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).