[PATCH] Blackfin BF54x NAND Flash Controller driver

Mike Frysinger vapier.adi at gmail.com
Mon Sep 3 13:57:59 EDT 2007


On 9/3/07, Bryan Wu <bryan.wu at analog.com> wrote:
> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -131,6 +131,24 @@ config MTD_NAND_AU1550
> +config MTD_NAND_BF54X
> +       tristate "NAND Flash support for Blackfin BF54X SoC DSP"

i'd just describe it as "Blackfin on-chip NAND" rather than sticking
in exact part numbers as i imagine we can extend it down the line

> +         This enables the NAND flash controller on the BF54X SoC DPSs

"BF54X SoC DPSs" -> "BF54x SoC DSPs"

> +         No board specific support is done by this driver, each board
> +         must advertise a platform_device for the driver to attach.

should mention the module name when built as a module

> +config MTD_NAND_BF54X_HWECC
> +       bool "BF54X NAND Hardware ECC"
> +       depends on MTD_NAND_BF54X
> +       help
> +         Enable the use of the BF54X's internal ECC generator when
> +         using NAND. Early versions of the chip have had problems with
> +         incorrect ECC generation, and if using these, the default of
> +         software ECC is preferable.

rather than advertising this, i'd just keep it in the driver ...
presumably there are anomaly #'s for when the ECC is wrong, so we can
make the code depend on those
-mike



More information about the linux-mtd mailing list