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

From: Kyungmin Park
Date: Mon Jun 30 2008 - 00:14:36 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/