]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/linux/mtd/nand.h
mtd: nand: convert ONFI mode into data interface
[people/ms/u-boot.git] / include / linux / mtd / nand.h
index e321e3e502fd17af787eded67ea1b36ea7fb4fc4..a633fd0fd1f773ad2a9eea29f48548330573c05b 100644 (file)
@@ -1134,6 +1134,11 @@ static inline int onfi_get_sync_timing_mode(struct nand_chip *chip)
 }
 #endif
 
+int onfi_init_data_interface(struct nand_chip *chip,
+                            struct nand_data_interface *iface,
+                            enum nand_data_interface_type type,
+                            int timing_mode);
+
 /*
  * Check if it is a SLC nand.
  * The !nand_is_slc() can be used to check the MLC/TLC nand chips.