1-wire: fix incorrect revision_id and bom_revision swapping

In case of revision mapping "B" the revision_id and bom_revision values were
swapped when normalizing them.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
1-wire: correct mapping B with alpha-numeric revisions

Use same normalisation function as the revision code and rev id
alpha-numeric characters as stated on the mapping specification "B".

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
1-wire: swap BOM revision and revision id printing

Mapping specification "B" state that the order of characters
should be:
Board Revision - revision_code
Schema Revision - revision_id
BOM Revision - bom_revision

So swap alpha-numeric characters when printing these information.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
1-wire: add information for newer PDA TM4301 DM

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
nandflash: add missing CONFIG_ for small blocks ifdef

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
nandflash: add Somsung K9F5608U0D flash support

and split the small page and large page flash list

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
nandflash_9260: ecc layout: split small and large page support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
nandflash_9260: fix small page ecc layout

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
nandflash_9260: use function pointer for nand_address and command

so we can drop all if (buswidth)

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
nandflash_9260: move write_column_address and write_row_address to large page ifdef

only large page use it

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
nandflash_9260: fix small block read sector support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
nandflash: ecc layout: split small and large page support

Refer to commit:
nandflash_9260: ecc layout: split small and large page support

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
nandflash: fix small page ecc layout

Refer to commit:
nandflash_9260: fix small page ecc layout

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
nandflash: use function pointer for nand_address and command

Refer to commit:
nandflash_9260: use function pointer for nand_address and command

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
nandflash: fix small block read sector support

Refer to commit:
nandflash_9260: fix small block read sector support

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
nandflash: move the pmecc related code to a seperated file.

To improve code quality, move the pmecc related code to seperated module.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
nandflash: add support to use ONFI detectng funtion for more flexibility

By the right configuration to decrease the target binary size
to meet the at91sam9260 4K SRAM size

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
nandflash: add support to use On-Die ECC macro definition for more flexibility.

By the right configuration to decrease the target binary size
to meet the at91sam9260 4K SRAM size

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
nandflash: remove not used members of struct nand_ooblayout and struct nand_info

To decrease the target binary size to meet the at91sam9260 4K SRAM size

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
nandflash: make all chips use a same nandflash driver code.

By the flexible configuration through several macro definitions
to decrease the binary size to meet the at91sam9260 4K SRAM size

Delete file: driver/nandflash_9260.c

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>