Messages in this thread |  | | | Date | Mon, 30 Jun 2008 13:14:13 +0900 | | From | "Kyungmin Park" <> | | Subject | Re: [patch 2.6.26-rc8+] mtd: dataflash OTP support | |
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
|  |