martin
dc72817057
Rename isbad argument to is_bad - stupid namespace pollution and ancient
...
bad sector routines interfere on some archs and cause global shadowing
warnings.
2011-08-28 20:49:30 +00:00
cliff
fb19d2b789
Add support for CFI NOR, using MPC8536DS as initial example.
...
Only AMD/Fujitsu command set is suported so far.
This is still work in progress, be advised.
2011-07-15 19:19:55 +00:00
ahoka
f1e7eb4d21
Make this actually compile by adding a wrapper function which calls
...
flash_io_submit.
2011-07-01 16:46:13 +00:00
ahoka
0e8f635bc2
Refactor flash and nand driver, so we can reuse the io thread code
...
in the future nor driver (and any other future driver).
Also simplify some of the code in the process, eg. saner flash attachment.
2011-06-28 18:14:11 +00:00
ahoka
fff8508658
adjust to nand changes
2011-06-28 10:32:45 +00:00
ahoka
52682d394e
follow bus_space conventions in naming
2011-06-28 07:16:11 +00:00
ahoka
9f1cc1c376
disable a debug printf and split it, as it's acutally two conditions
2011-06-28 07:05:19 +00:00
ahoka
d17d98adaf
fix some bugs and simplify locking
...
from rmind
2011-05-01 14:48:11 +00:00
rmind
9cc6428e00
Remove trailing tabs, add RCS IDs.
2011-05-01 13:20:28 +00:00
ahoka
50cd66ec6e
it seems we have a config_detach_children (though undocumented)
...
lets use that to detach flash devices before detaching nand
2011-04-26 17:31:57 +00:00
ahoka
55074f67ed
whitespace
2011-04-26 17:27:52 +00:00
ahoka
8f72be80f9
fix some bugs in detachment
2011-04-26 13:38:13 +00:00
ahoka
4e870ad59c
Fix locking and simplify some error path.
2011-04-10 12:48:09 +00:00
ahoka
9491044f6b
Add some KASSERTs and a few more debug printf
2011-04-10 10:56:37 +00:00
ahoka
6adb739d5e
Fix badblock checking
...
Replace flash_addr_t with flash_off_t and use it to address flash everywhere
2011-04-04 14:25:09 +00:00
ahoka
c68f5a8379
Add support for redifining page read and program functions by drivers.
...
Some controllers implement read/write in one step, so this is required
to support those.
2011-03-27 13:33:04 +00:00
ahoka
4ad1d11f7a
use %zu for size_t, also add rcsid
2011-03-18 16:46:04 +00:00
cliff
c1a6784525
- add suport for MT29FxGx family devices
2011-03-18 00:57:51 +00:00
ahoka
e01dc4626a
Add some PRIxxx macros to correctly print stdint types
2011-03-09 12:33:59 +00:00
martin
a7e0465d20
Use %zu for size_t
2011-03-09 12:13:42 +00:00
ahoka
14ce4ecc83
Add support for legacy devices not supporting the ONFI READ_PARAMETER_PAGE
...
command with example usage for Micron chips
2011-03-09 10:05:08 +00:00
ahoka
e43298d4d8
cleanup comments, prototypes
...
remove unused leftover debug code
2011-03-09 07:49:15 +00:00
jruoho
78d39fa3b6
KNF.
2011-03-05 06:28:29 +00:00
ahoka
2b6ee22130
Import the Flash and NAND subsytem code contributed by the University
...
of Szeged, Hungary.
The commit includes:
- Flash layer, which gives a common API to access flash devices
- NAND controller subsystem for the flash layer
- An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00