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>
nandflash: fix missing nand_cs_disable

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
nandflash: fix fail to load image with not supporting On-Die ECC chips

Excution doesn't abort when failing to enable or disable On-Die ECC.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
board/Config.in: fix BUS SPEED 133MHZ dependence on PCK 400MHZ

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
defconfig: update default configuration files

Due to add new configuration items
	1./ CONFIG_ONFI_DETECT_SUPPORT
	2./ CONFIG_USE_ON_DIE_ECC_SUPPORT

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>