[U-Boot] [PATCH] ARM DaVinci: EMIF settings

David Brownell david-b at pacbell.net
Wed Jun 3 23:12:29 CEST 2009


On Sunday 31 May 2009, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 19:46 Sun 03 May     , Thomas Lange wrote:
> > NAND module should not modify EMIF registers unrelated to CS2
> > that is used for NAND, i.e. do not modify EWAIT config register
> > or registers for other Chip Selects.
> > 
> > Without this patch, EMIF configurations made in board_init()
> > will be invalidated.
> > 
> > Signed-off-by: Thomas Lange <thomas at corelatus.se>
> > ---
> David, Sandeep
> is one of you can test it on some boards too?

I'd just merge it as-is (it builds, yes?).

That code is *extremely* dubious already, and the boards
using that driver only use NAND on CS2.  Code reconfiguring
other chipselects is broken.

That code is already dm6446-specific.  I have one dm6446
board, which only uses CS2 ... so the only error I could
turn up would be a build error.


More information about the U-Boot mailing list