]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
mtd: rawnand: Clarify the NV-DDR entries in the ONFI structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 5 May 2021 21:37:35 +0000 (23:37 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 26 May 2021 08:43:42 +0000 (10:43 +0200)
Both src_sync_timing_mode and src_ssync_features entries of the ONFI
parameter page have been updated and now are named nvddr_timing_modes,
nvddr2_timing_modes and nvddr_nvddr2_features, which is much more
understandable for someone which do not know the history of the ONFI
specification. Update the relevant structure with regard to these
changes.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210505213750.257417-8-miquel.raynal@bootlin.com
include/linux/mtd/onfi.h

index 2ade5632dc5b4141e5ddfbef213d56f037a07369..319e1736851ddbac6469b8c50fdf6a0da3d062aa 100644 (file)
@@ -99,8 +99,9 @@ struct nand_onfi_params {
        __le16 t_bers;
        __le16 t_r;
        __le16 t_ccs;
-       __le16 src_sync_timing_mode;
-       u8 src_ssync_features;
+       u8 nvddr_timing_modes;
+       u8 nvddr2_timing_modes;
+       u8 nvddr_nvddr2_features;
        __le16 clk_pin_capacitance_typ;
        __le16 io_pin_capacitance_typ;
        __le16 input_pin_capacitance_typ;