Subject: [PATCH 1/2] MTD: atmel_nand: Update Kconfig to support PMECC

From: [email-masked] (Artem Bityutskiy)
Date: Mon, 12 Dec 2011 22:58:19 +0200

On Thu, 2011-12-08 at 14:53 +0800, Hong Xu wrote:
> +config MTD_NAND_ATMEL_PMECC_HW
> +	bool "Programmable Hardware ECC (BCH code)"
> +	depends on ARCH_AT91SAM9X5 || ARCH_AT91SAM9N12
> +	help
> +	  Use Programmable Hardware ECC (PMECC) controller.
> +
> +	  The PMECC Controller is a programmable binary BCH (Bose, Chaudhuri
> +	  and Hocquenghem) encoder/decoder. This controller can be used to
> +	  generate redundancy information for both SLC and MLC NAND Flash
> +	  devices.
> +
> +	  NB : hardware and software ECC schemes are incompatible.
> +	  If you switch from one to another, you'll have to erase your
> +	  mtd partition.

Does it have to be a config option, can we avoid adding config options
uless we really have to?