[ARM] pxa/zaurus: fix NAND flash OOB layout for Borzoi
commit5e0fa3f63eda875cbe23be37d64a16c65a577209
authorStanislav Brabec <utx@penguin.cz>
Thu, 22 Oct 2009 21:05:03 +0000 (22 23:05 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 3 Nov 2009 02:49:53 +0000 (3 10:49 +0800)
treeac475ee196b704cdcdaded462d155b74f3af2fc9
parentb6727b12dd2ffb4a890eb5b13a298230c29ba45d
[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