[prev in list] [next in list] [prev in thread] [next in thread] 

List:       u-boot
Subject:    Re: [U-Boot] Add spi nand support in u-boot
From:       Jagan Teki <jagannadh.teki () gmail ! com>
Date:       2015-04-30 9:21:24
Message-ID: CAD6G_RTKAQ0RWOCsWLuG6UJcoyWUEcS+pG1XCZxH_TuR0aU0fA () mail ! gmail ! com
[Download RAW message or body]

On 30 April 2015 at 12:16, Peter Pan æ½˜æ ‹ (peterpandong)
<peterpandong@micron.com> wrote:
> Hi All,
>
>
>
> I'd like to add spi nand support in u-boot. But I don't know where should
>
> the spi nand drivers put in and how to define the architecture.
>
>
>
> I find that currently spi_flash in u-boot means spi nor flash. Should I
> create
>
> a struct spi_nand_flash or make spi_flash compatible?

Honestly, the current spi flash code which deals with nor devices are
has some issue
like spi-nor specific logic is part of spi-bus like the situation was
Linux is in before "spi-nor"

We're working on the spi-nor[1] front, hopefully by next release we
might have some progress
on that, I recommend you to start spi-nand as you're trying for Linux.
I would help you at any point
as I'm going to work on this spi-nor.

[1] http://git.denx.de/?p=u-boot/u-boot-spi.git;a=shortlog;h=refs/heads/spi-nor

thanks!
-- 
Jagan.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic