]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] pxa/zaurus: fix NAND flash OOB layout for Borzoi
authorStanislav Brabec <utx@penguin.cz>
Thu, 22 Oct 2009 21:05:03 +0000 (23:05 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 3 Nov 2009 02:49:53 +0000 (10:49 +0800)
commitf89d83edb0f32d1893fcc8f30c7ffd8569a400d6
treeac475ee196b704cdcdaded462d155b74f3af2fc9
parent2b1d70a06ba6678b3a741d5707538c5d9ba67b2b
[ARM] pxa/zaurus: fix NAND flash OOB layout for Borzoi

Borzoi, Terrier and Akita use the same NAND Flash OOB layout, which
seems to be different from Spitz for some reason. Here is a fix.

When the code was ported to the platform data, the map was applied just
for Akita.

After this patch, Flash works again on Borzoi. Terrier still has a
problem with partition table different from Borzoi (unfixable without
reading of the system configuration in flash) and JFFS2 partitions can
be mounted (with some "Empty flash at ... ends at ..." in the syslog).

Signed-off-by: Stanislav Brabec <utx@penguin.cz>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/spitz.c