David Woodhouse
4285431fb6
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
2007-02-05 13:25:21 +00:00
Al Viro
a12743026c
[PATCH] mtd/nand/cafe.c missing include of dma-mapping.h
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-01-30 08:39:20 -08:00
David Woodhouse
f7c37d7b8a
[MTD] [NAND] Remove debugging cruft from CAFÉ NAND driver.
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-01-23 23:36:43 +08:00
David Woodhouse
527a4f45ef
[MTD] [NAND] Inherit CAFÉ NAND timing setup from firmware
...
The precise timings are board-specific (or NAND chip specific) and don't
belong here. If they're set already, then use what we find there.
Otherwise, revert to the most conservative default values (and whinge).
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2007-01-23 23:36:42 +08:00
David Woodhouse
c9ac597729
[MTD] Remove trailing whitespace
...
The newly-added cafe_ecc.c had a lot of it because of the way the lookup
table was auto-generated; clean up the other files too while we're at it.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-11-30 08:17:38 +00:00
David Woodhouse
28bdd4a72d
[MTD] [NAND] Update CAFÉ driver interrupt handler prototype
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-11-29 00:04:59 +00:00
David Woodhouse
cad40654c3
[MTD] NAND: Fix ECC settings in CAFÉ controller driver.
...
We were resetting cafe->ctl2 to zero after an erase (and also during a
write, but it was correctly reset after that). This meant that ECC reads
after an erase were failing. Doh.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-11-01 08:19:20 +08:00
David Woodhouse
be8444bdf3
[MTD] NAND: Add register debugging spew option to CAFÉ driver
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-31 12:36:04 +08:00
David Woodhouse
195a253b66
[MTD] NAND: Use register #defines throughout CAFÉ driver, not numbers
...
Also use cafe_readl() and cafe_writel() abstraction to make code
slightly cleaner -- especially if we want to use it in PIO mode.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-31 12:30:11 +08:00
David Woodhouse
a020727b16
[MTD] NAND: Fix timing calculation in CAFÉ debugging message
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-28 17:08:38 +03:00
David Woodhouse
63a1423763
[MTD] NAND: Remove empty block ECC workaround
...
They fixed the hardware so that ECC doesn't fail on reading an empty
block.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-27 22:12:02 +03:00
David Woodhouse
b478c775a0
[MTD] CAFÉ NAND: Add 'slowtiming' parameter, default usedma and checkecc on
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-27 14:50:04 +03:00
David Woodhouse
dcc41bc81c
[MTD] NAND: Reset Café controller before initialising.
...
Fixes http://dev.laptop.org/ticket/237
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-27 09:55:34 +03:00
David Woodhouse
470b0a90d6
[MTD] NAND: Disable ECC checking on CAFÉ since it's broken for now
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-23 14:29:04 +01:00
David Woodhouse
fbad5696c5
[MTD] NAND: CAFÉ NAND driver cleanup, fix ECC on reading empty flash
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-22 15:09:33 +01:00
David Woodhouse
04459d7c62
[MTD] NAND: Add hardware ECC correction support to CAFÉ NAND driver
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-10-22 02:18:48 +01:00