[PATCH 4/6] mtd: nand: Stop using a static parameter page for all chips
Boris Brezillon
boris.brezillon at bootlin.com
Wed Feb 14 00:53:51 PST 2018
On Sat, 3 Feb 2018 10:55:42 +0100
Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
> index 3244f2594b6b..6d8667bb96f4 100644
> --- a/include/linux/mtd/rawnand.h
> +++ b/include/linux/mtd/rawnand.h
> @@ -429,6 +429,20 @@ struct nand_jedec_params {
> __le16 crc;
> } __packed;
>
> +struct nand_parameters {
> + /* Generic parameters */
> + char model[20];
> + /* ONFI parameters */
> + bool support_setting_features;
It's not only about setting features, so maybe
'supports_set_get_features'.
> + u16 t_prog;
> + u16 t_bers;
> + u16 t_r;
> + u16 t_ccs;
> + u16 async_timing_mode;
> + u16 vendor_revision;
> + u8 vendor[88];
> +} __packed;
> +
--
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
More information about the linux-mtd
mailing list