Heiko Schocher
fa23044564
Added support for the TQM8272 board from TQ
...
Signed-off-by: Heiko Schocher <hs@denx.de>
18 years ago
Marian Balakowicz
6db3970811
Fix JFFS2 support for legacy NAND driver.
...
Some more NAND cleanup and small fixes.
19 years ago
Markus Klotzbuecher
552fc624f2
Cleanup of the monahans cpu and delta board port.
19 years ago
Wolfgang Denk
d52fb7e3d1
Some code cleanup for GCC 4.x
19 years ago
Markus Klotzbücher
43638c674a
Cleanup of NAND support of delta board using the Monahans Data Flash
...
Controller.
19 years ago
Markus Klotzbücher
f9e029184b
NAND finally working. Two bugs fixed:
...
* For READ_STATUS and READID commands always 8 bytes need to be read from
NDDB. Otherwise they stay there and get send to flash as the first data
word when writing.
* In nand_base.c the oob variable is not reset so this->oob_buf is
overwritten what eventually screws up the bad block descriptor table.
19 years ago
Markus Klotzbücher
bf7cac033b
Lots of new stuff:
...
* Debug message can be turned on and off.
* Waiting for events now times out.
* Implemented RESET command.
* Added appropriate nand_bbt_descriptor and nand_oobinfo.
Remaining Problems:
* Read Status still behaves weird an returns invalid stuff sometimes.
* ECC Placement does not respect our scheme in nand_oobinfo.
19 years ago
Markus Klotzbücher
f8785e96c9
Erasing works too now. The CS don't care causes problem with READSTATUS,
...
don't ask me why. There are still bugs in the bad block logic.
19 years ago
Markus Klotzbücher
24e1217be3
Write operation is working. Turned out that the READSTATUS hack was wrong
...
after all.
19 years ago
Markus Klotzbücher
9187a35b6c
Writing is working, but there's still a bug that causes the data written to
...
start at an offset of 4 bytes from the start of the page.
19 years ago
Markus Klotzbücher
19fdeff433
Implemented writing, not working yet.
19 years ago
Markus Klotzbücher
e2053f9c7a
Moved the waiting loop for "Read Data Request" RDDREQ into the
...
delta_cmdfunc function, because this bit is only set once after a command
is sent and this allows read functions to be called multiple times.
19 years ago
Markus Klotzbücher
bb1ff049fb
Read bug fixed. Now "nand bad" list the badblocks correctly (i hope, since
...
there are 0)
19 years ago
Markus Klotzbücher
481911c78c
Further NAND stuff implemented. Basic read commands seem to work.
19 years ago
Markus Klotzbücher
00c35bd214
Added GPIO initialization of DF signal. Still not working.
19 years ago
Markus Klotzbücher
6949328d7d
First steps implementing NAND support. Not working, fails to read ID.
19 years ago