Commit Graph

11 Commits

Author SHA1 Message Date
ahoka
ed5192dd9e add a function to get the size of the flash device 2011-07-29 20:48:33 +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
85c2d48387 dont define FLASH_DEBUG in header 2011-06-28 21:01:23 +00:00
ahoka
df8b0211cd use proper format string 2011-06-28 20:58:00 +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
a148a9e65b use nosize 2011-06-28 07:00:17 +00:00
matt
21e5ed3b5e Use %# instead of 0x% 2011-06-12 05:29:42 +00:00
ahoka
73b363db12 remove some debug printf leftover 2011-04-26 17:42:20 +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
uebayasi
e4215d8a60 Whitespace. 2011-03-30 14:34:26 +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