]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MTD] [NAND] pxa3xx_nand: moved nand definitions into shared platform header
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Fri, 29 Aug 2008 10:57:28 +0000 (12:57 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 1 Sep 2008 20:27:32 +0000 (21:27 +0100)
commit43035338ad772b6a4097b2ac530b75390bee87c1
tree6c3c65210f7e0395b49b2cdd5a3e09b5e999c603
parent5e706469a0518ec640a122aa5da22035e2af003a
[MTD] [NAND] pxa3xx_nand: moved nand definitions into shared platform header

This patch moves the exported datastructures from the pxa3xx_nand.c driver
into the <mach/pxa3xx_nand.h> header. This is a plain movement without
any modification of the attributes.

This is the first one of a set of patches which:

 * allows to specify used NAND flash in the platform code and allows to turn
   off the old way to specify NAND characteristics in the driver.  This way did
   not worked well as these characteristics depend on the platform and can not be
   derived from NAND id alone.

   E.g.  some NAND chips share the same ID (e.g.  K9K8G08U0A and K9NBG08U5A) but
   have different timings (which are written in the common driver currently and
   must be modified there).

 * adds 'const' annotations at various places

Further patches will be sent to the mtd-list.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/arm/mach-pxa/include/mach/pxa3xx_nand.h
drivers/mtd/nand/pxa3xx_nand.c