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

Kyungmin Park
2008-06-30T04:14:14Z

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