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>
18 years ago
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>
18 years ago
David Woodhouse
28bdd4a72d
[MTD] [NAND] Update CAFÉ driver interrupt handler prototype
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
18 years ago
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>
19 years ago
David Woodhouse
be8444bdf3
[MTD] NAND: Add register debugging spew option to CAFÉ driver
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years ago
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>
19 years ago
David Woodhouse
a020727b16
[MTD] NAND: Fix timing calculation in CAFÉ debugging message
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years ago
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>
19 years ago
David Woodhouse
b478c775a0
[MTD] CAFÉ NAND: Add 'slowtiming' parameter, default usedma and checkecc on
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years ago
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>
19 years ago
David Woodhouse
470b0a90d6
[MTD] NAND: Disable ECC checking on CAFÉ since it's broken for now
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years ago
David Woodhouse
fbad5696c5
[MTD] NAND: CAFÉ NAND driver cleanup, fix ECC on reading empty flash
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years ago
David Woodhouse
04459d7c62
[MTD] NAND: Add hardware ECC correction support to CAFÉ NAND driver
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years ago
David Woodhouse
8dd851de81
[MTD NAND] OLPC CAFÉ driver update
...
- Fix OOB handling, bad block table marker placement
- Some cleanups, enable runtime-optional debugging
- Allow BBT stuff to be skipped
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years ago
David Woodhouse
5467fb0255
[MTD NAND] Initial import of CAFÉ NAND driver.
...
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
19 years ago