[patch 2.6.26-rc8+] mtd: dataflash OTP support

Kyungmin Park kmpark at infradead.org
Mon Jun 30 00:14:13 EDT 2008


Hi David,

>
> +#ifdef CONFIG_MTD_OTP
> +#define HAVE_OTP
> +#endif
> +
> +#ifdef CONFIG_MTD_ONENAND_OTP
> +#define HAVE_OTP
> +#endif
> +
> +#ifdef CONFIG_MTD_DATAFLASH_OTP
> +#define HAVE_OTP
> +#endif
> +

How about to add these at Kconfig like this,

config MTD_HAVE_OTP
         bool
         default n

and NOR, OneNAND, and DATAFLASH select MTD_HAVE_OTP if OTP support.

Thank you,
Kyungmin Park



More information about the linux-mtd mailing list