9
0
Fork 0
Commit Graph

7 Commits

Author SHA1 Message Date
Sascha Hauer 66891566cc mtd: nand: update to v3.11-rc1
This updates the NAND stuff to Linux-3.11-rc1. It is synchronized
as best as we can get:

- locks removed
- The splitting in different files we had to better support different
  features has been dropped. Instead this is now done mostly with the
  use of __maybe_unused

Some barebox adjustments are forward ported, like:

- Allow partial page writes
- Optionally allow to erase bad blocks
- check for all_ff before writing a page

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-07-23 16:25:13 +02:00
Sascha Hauer 5386d6d77c nand: nand_block_markbad is only used with nand write support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-12 09:54:55 +02:00
Sascha Hauer eb133335e6 nand: Make write support optional
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-04 16:41:32 +02:00
Sascha Hauer 779ea89baf nand: factor out nand write support
In order to make it optional later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-04 16:41:17 +02:00
Sascha Hauer c8e395def8 nand: factor out syndrome support to seperate file
In order to make it optional later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-04 16:41:10 +02:00
Sascha Hauer f6647d3c02 nand: factor out software ecc support to seperate file
in order to make it optional later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-04 16:41:00 +02:00
Sascha Hauer 535d444788 nand: Factor out hw ecc support to seperate file
In order make hwecc support optional later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-04 16:40:32 +02:00