linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Upcoming merge window and omap NAND patches
@ 2010-05-04 22:08 Tony Lindgren
  2010-05-05  4:49 ` Artem Bityutskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Lindgren @ 2010-05-04 22:08 UTC (permalink / raw)
  To: linux-omap
  Cc: linux-mtd, Sukumar Ghorai, Vimal Singh, Steve Sakoman,
	Mike Rapoport, Artem Bityutski

Hi all,

There are several omap NAND patches pending, but some basic things
should be fixed first.

1. The NAND driver needs to stop tinkering with the GPMC registers

The omap General Purpose Memory Controller (GPMC) registers are omap
specific, and not driver specific. Tinkering with these registers
can cause issues with the other devices on the GPMC.

To find out what needs to disappear fomr the NAND driver, just do:

$ grep baseaddr drivers/mtd/nand/omap2.c

Any GPMC register tinkering needs to happen in arch/arm/mach-omap2/gpmc.c.
If there are not currently GPMC functions to do something in gpmc.c, then
let's add the necessary support there.

2. Passing hardcoded GPMC_CS0_BASE needs to go from the board files

Passing hardcoded GPMC virtual addressess is sure way to mess up
things. This should all become unnecessary once the NAND drivers
stops messing with the GPMC registers directly.

So, as a result, I'm not planning on pushing any omap NAND related
patches until these basic issues are fixed. I'll mark these patches
as "Changes requested" in patchwork.kernel.org even if these patches
don't have anything else wrong with them.

Let's fix the basic things for good, and put the other patches on
hold for a while. Sorry if this causes problems!

Cheers,

Tony

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

end of thread, other threads:[~2010-05-05 15:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-04 22:08 Upcoming merge window and omap NAND patches Tony Lindgren
2010-05-05  4:49 ` Artem Bityutskiy
2010-05-05  6:11   ` Vimal Singh
2010-05-05 12:33     ` Ghorai, Sukumar
2010-05-05 12:55       ` Mike Rapoport
2010-05-05 15:11         ` Tony Lindgren

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).